Partially failed Android decompile contains a weird int: 65536(0x10000, float:9.18355E-41)

110 views Asked by At

I have decompiled an application using APKTool and JadX and I'm trying to manually restore a few spots that didn't decompile correctly. So far it's going slow but steady and I've fixed all of the other ones. But I'm a bit stumped by the following line:

r2 = 65536(0x10000, float:9.18355E-41)

I know it's supposed to be an int because that's the signature of the function I'm passing it into. But how do I deduce the value of this constant?

I can only find other decompile dump by Googling it, no clues for it's true value or how to calculate it.

1

There are 1 answers

0
Lucas van Dongen On BEST ANSWER

Like Joachim Suaer already said it's just a constant value that the compiler is unsure of if it was meant to be an int or a float.