Solved Need help with modding a specific variable type

Status
Not open for further replies.

EpicCode

1/3 Games Approved
Ok guys here's the deal. I need help on modding a short variable type. This game I'm modding is very particular. If you try to return a integer on a float variable, the game will simply ignore it. They just changed one of the methods from integer to a short on the newest update. Now returning a integer value such as 03 00 00 A0 E3 2F E1 doesn't work anymore. I have not seen any info on modifying short values, only float and integer.

Oh it's a ill2cpp.so game
If I can't figure this out I'll just try to branch on the timer tick.

So int would be MOV in a arm instruction
Float is MOVT
Short is ???????

Any help would be greatly appreciated ..! Thanks in advance
 
Last edited:
Simple remove a short instead a int buddy?

Take the maximum value which a short can hold which is 32767 and return it, for ushort it is 65535

So for ARM it would be:

Instruction:

MOV R0, #0x7FFF
BX LR

Hex:
FF 0F 07 E3 1E FF 2F E1
 
As said above, this doesn't work. There has to be some other way it's done properly in instructions. That would return a int32. Need to return a int16.
I have many many many games with short values and that hex works everywhere lol

Which is the game you try?

A short is still a int, nothing more. Only an int with less maximum value.
 
Status
Not open for further replies.
Back
Top Bottom