Requirements:
- This is only for beginners, maybe.
Instructions:
This is only for int32 or public int/private int methods
For High Values: (useful for golds, diamonds or resources)
HEX CODE:
02 01 E0 E3 1E FF 2F E1 is equals to 2,147,483,648
ARM:
mvn r0, #0x80000000
bx lr
Another value for 2 billion:
HEX CODE:
7F 04 E0 E3 1E FF 2F E1 is equals to 2,130,706,432
ARM:
mvn r0, #0x7f000000
bx lr
Value for 133 million: (some games will make the value into a negative value when it reached the max, such as using the above 2 billion)
HEX CODE:
7F 06 A0 E3 1E FF 2F E1 is equals to 133,169,152
ARM:
mov r0, #0x7f00000
bx lr
Value for 9,999: (useful for bullets, power ups etc.)
HEX CODE:
0F 07 02 E3 1E FF 2F E1 is equals to 9,999
ARM:
movw r0, #0x270f
bx lr
Those values above will work for sure.
--------------------------------------------
Now, this is only for float value or public float/private float methods
For now, this might be the maximum value for floats:
HEX CODE:
FA 04 44 E3 1E FF 2F E1 is equals to 2,000
ARM:
movt r0, #0x44fa
bx lr
--------------------------------------------
Now, for public long methods
If you want to return a high value such as 999,999,999: (useful for golds, etc.)
HEX CODE:
FF 09 0C E3 00 10 A0 E3 9A 0B 43 E3 1E FF 2F E1 is equals to 999,999,999
ARM:
movw r0, #0xc9ff
mov r1, #0
movt r0, #0x3b9a
bx lr
Be aware, do not use 1999, 599, 499, and higher max value than 2000. It will not work. Only use 1000, 1500, 500 or with a zero digits.