Tutorial LIST OF HEX CODES | YEARS OF RESEARCH

nowhere_222

Just Crazy
Original poster
Jul 29, 2022
480
6,083
193
23
Inner Peace 🕊️
Hey there! :pepe019:

Been a while since i'm working on this big list of hex codes, and still researching every little missing hex codes for it :gif07:

I think we have NOW a 90% list complete of it :gif07:

This will be the last thread where i'm putting them, so it will stay updated from over time :pepe025:

HAVE FUN ~


Here is the big list:


C++:
ARM32 /////

FLOAT INFINITY -> 80 0F 47 E3 1E FF 2F E1

INT INFINITY -> FF 0F 47 E3 1E FF 2F E1

INT NEGATIVE -> 00 00 48 E3 1E FF 2F E1

FLOAT NEGATIVE -> 7F 0F 4F E3 1E FF 2F E1


HOOK FIELD / PARAMETER INSIDE METHOD (Not work on all cases/)

Force Int or Float into a field: IDA Arm

Get your field offset from your generated dump.cs from Il2CppDumper by Perfare.

//float field
 MOV             R1, #0x447A
 STR             R1, [R0,#0x10] // replace "0x10" with your field offset inside of dump.cs
 BX              LR
hex -> 7A 14 04 E3 10 10 80 E5 1E FF 2F E1
   
//int field
 MOV             R1, #1000
 STR             R1, [R0,#0x14] // replace "0x14" with your field offset inside of dump.cs
 BX              LR
hex -> FA 1F A0 E3 14 10 80 E5 1E FF 2F E1



STOP IENUMERATOR // HOOK IENUMERATOR

Go to the offset of MoveNext()

public bool MoveNext(); // 0xOFFSET

And write this in hex editor

 MOV             R1, #0xFFFFFFFF
 STR             R1, [R0,#0x10]
 MOV             R0, #0
 BX              LR
hex -> 00 10 E0 E3 10 10 80 E5 00 00 A0 E3 1E FF 2F E1

same hex for both IEnumerator and IEnumerable //


Booleans //

TRUE -> 01 00 A0 E3 1E FF 2F E1 -> can be useful for return conditions to true.

FALSE -> 00 00 A0 E3 1E FF 2F E1 -> can be useful to return conditions to false.

INT / FLOAT

FLOAT: 1 -> 80 0F 43 E3 1E FF 2F E1 -> can be useful for decrease HP, def, attack.

00 00 A0 E3 1E FF 2F E1 = 0 (INT/FLOAT) -> can be useful to decrease HP, atk, def, all kind of stuff you need 0 as a value

7A 04 44 E3 1E FF 2F E1 = 1000 (FLOAT) -> can be useful for attack speed, move speed.

10 (FLOAT) -> 20 01 44 E3 1E FF 2F E1

INT MAX VALUE: 0F 07 02 E3 1E FF 2F E1 

20 (FLOAT) = A0 01 44 E3 1E FF 2F E1



INT32 ARM VALUE: 

0F 07 02 E3 1E FF 2F E1 = can be useful for whatever int32 function.

BIG FLOAT VALUE -> 9.95106e+31 -> 9D 04 47 E3 1E FF 2F E1 -> can be useful for damage, god mod, hp, def, etc..

C8 02 44 E3 1E FF 2F E1 (float) = 100 -> can be useful for crit rates.

1000 -> FA 0F A0 E3 1E FF 2F E1 


INT64 / LONG

FF 09 0C E3 00 10 A0 E3 9A 0B 43 E3 1E FF 2F E1 = 999999999 -> can be useful for HP, atk, def.

00 00 A0 E3 00 10 A0 E3 1E FF 2F E1 = 0 -> can be useful to decrease HP, atk, def.

0F 07 02 E3 00 10 A0 E3 1E FF 2F E1 = 9999

3F 02 04 E3 00 10 A0 E3 0F 00 40 E3 1E FF 2F E1 = 999999

DOUBLE VALUE

10 -> 24 10 44 E3 1E FF 2F E1 

1 -> F0 1F 43 E3 1E FF 2F E1 -> useful for 1hit <33

1 HIT KILL DOUBLE VALUE: 1e+50: 51 1A 44 E3 1E FF 2F E1 // 1e+100: B2 14 45 E3 1E FF 2F E1

00 10 40 E3 1E FF 2F E1 = 0 -> can be useful for UpgradePrice, any kind of upgrade cost, decrease HP, ATK, def.

B2 14 45 E3 1E FF 2F E1 = 9.842628261523554e+99 -> can be useful for godmod, gold, exp, any multipliers.

NO OPERATION / SKIP CODE VALUES -> do this on void methods.

00 F0 20 E3 1E FF 2F E1 = NOP BX LR -> can be useful to skip code inside methods that don't have any parameters in it, it's also a big hint for bypass new securities.

00 00 A0 E1 1E FF 2F E1 = SKIP CODE IN PARAMETERS (change the first two hex (00) with the number of parameters you have, for example if you have 7 parameters, you will put 07.

it's also a big hint to skip a lot of things.


1E FF 2F E1 = delete a function.

----------------------------------------------------------------------------------------------------

ARM64 /////

Booleans //

TRUE.

ARM:
MOV X0, #1
ret

HEX:
20 00 80 D2 C0 03 5F D6

FALSE.

ARM:
MOV X0, #0
ret

HEX:
00 00 80 D2 C0 03 5F D6

INT //

RETURN HIGH VALUE.

ARM:
MOV X0, #0x7F000000
ret

HEX:
00 E0 AF D2 C0 03 5F D6

MISC //

NOP.

HEX:

1F 20 03 D5 (for single line) - NOP

1F 20 03 D5 C0 03 5F D6  (for NOP full function) - NOP


E0 03 00 AA C0 03 5F D6 = SKIP CODE IN PARAMETERS (change the first two hex (00) with the number of parameters you have, for example if you have 7 parameters, you will put 07.

example: 7 parameters = E0 03 07 AA C0 03 5F D6


FLOAT VALUE -> 1 (useful for get_deltaTime function) = 00 10 2E 1E C0 03 5F D6


BIG FLOAT VALUE -> 9.95106e+31 -> 60 00 80 52 A0 93 AE 72 00 00 27 1E C0 03 5F D6 (useful for attack speed..)


Float -> 100 -> 00 59 A8 52 00 00 27 1E C0 03 5F D6 

Float -> 1000 -> 40 8F A8 52 00 00 27 1E C0 03 5F D6 


long / int64 arm64 hex for value 0: 00 00 80 D2 01 00 80 D2 C0 03 5F D6

long / int64 arm64 -> 999999999 -> E0 3F 99 D2 40 73 A7 F2 C0 03 5F D6 


1 HIT KILL DOUBLE VALUE: 1e+50: 00 4A E9 D2 00 00 67 9E C0 03 5F D6  // 1e+100: 00 96 EA D2 00 00 67 9E C0 03 5F D6 


arm64 hex for doubles: 0: 00 E4 00 2F C0 03 5F D6 // 1: 00 10 6E 1E C0 03 5F D6 // 1000: 00 12 E8 D2 C0 03 5F D6 


infinite positive double by @xyzhunter: 00 E0 EF D2 00 00 67 9E C0 03 5F D6


int negative -> -9999 -> C0 E1 84 12 C0 03 5F D6 


delete a function -> C0 03 5F D6


THUMB /// 


THUMB -> 01 20 70 47 = 1

THUMB -> 09 20 70 47 = 9

THUMB -> 63 20 70 47 = 99

THUMB -> 00 BF 70 47 = nop
 
Last edited:

Raebydett

Awesome Active Platinian
Jan 20, 2020
171
60
28
G
The only right way to do these hex by analyze on IDA or GG(for those dont have pc)

Check how all the branch and structure of the code inside the functions, not just bxlr/ret things. Read up all the assembly code.. once you understand it everything is easy without ret them:pepe019:
 

nowhere_222

Just Crazy
Original poster
Jul 29, 2022
480
6,083
193
23
Inner Peace 🕊️
The only right way to do these hex by analyze on IDA or GG(for those dont have pc)

Check how all the branch and structure of the code inside the functions, not just bxlr/ret things. Read up all the assembly code.. once you understand it everything is easy without ret them:pepe019:
I mod with ease with those codes tho
I don't need to read assembly to mod games
🥺
 

Backshift

Solid & Active Platinian
Oct 10, 2023
53
35
18
32
Hope you find inner peace one day and hate someone else ❤😉
Why do you get so offended lol, Codejutsu and myself have both given input to your threads, yes you have info that is not correct, yes we commented on it, that doesn't mean we were personally attacking you... and yet you still get upset about it and don't listen to it and say we hate you... You are ok with making tutorials to "help others" but when someone points out your incorrect, which you know could help you, you cant accept the feedback?

Yet of course, I am the hater and you will probably report this post and get it deleted....
 
  • Like
Reactions: nowhere_222

DaRealPanDa

Co-Administrator
Staff member
Supporting-Team
Global Moderator
Social Media
Mar 12, 2018
6,773
15,662
2,120
27
Skyrim
Why do you get so offended lol, Codejutsu and myself have both given input to your threads, yes you have info that is not correct, yes we commented on it, that doesn't mean we were personally attacking you... and yet you still get upset about it and don't listen to it and say we hate you... You are ok with making tutorials to "help others" but when someone points out your incorrect, which you know could help you, you cant accept the feedback?

Yet of course, I am the hater and you will probably report this post and get it deleted....
The comment from CodeJutsu got deleted because it was 0% helpful. Saying someone "you*re wrong" without giving a hint on where someone is wrong is the same as the "why don't you get that? thats some basic stuff!" comments on stackoverflow which these users even get banned for lol
If someone is wrong, try to give him hints. No one wants to be spoonfed, but hints are necessary so people can improve. If I had an instructor back in my day as an Apprentice for Software Developer who just told me "you did something wrong" and thats it and he would do that 2 or 3 times, you can be sure that I would be the reason that this instructor won't be an instructor anymore xD
Nowhere overreacts, thats true, but the comment got deleted by myself for MY reasons. Because I hate this toxic gatekeeping within the development community. I'm in the IT for quite a few years now, quite a few years a professional developer myself and had way to much "you did something wrong" guys.
If you wanna help someone, give hints in a direction.
If you wanna help someone but you don't wanna give hints and/or a direction -> don't help.

I love that you two guys wanna help and I almost read every single of your comments, just do it sometimes in a more "friendly" way haha
Instead of "so much wrong info :pepe021: " how about "hey. you got some codes/concepts wrong, may take a look at line/code xx. If you can't find the issue, just hook me up, im happy to help!"
 
Last edited:

nowhere_222

Just Crazy
Original poster
Jul 29, 2022
480
6,083
193
23
Inner Peace 🕊️
The comment from CodeJutsu got deleted because it was 0% helpful. Saying someone "you*re wrong" without giving a hint on where someone is wrong is the same as the "why don't you get that? thats some basic stuff!" comments on stackoverflow which these users even get banned for lol
If someone is wrong, try to give him hints. No one wants to be spoonfed, but hints are necessary so people can improve. If I had an instructor back in my day as an Apprentice for Software Developer who just told me "you did something wrong" and thats it and he would do that 2 or 3 times, you can be sure that I would be the reason that this instructor won't be an instructor anymore xD
Nowhere overreacts, thats true, but the comment got deleted by myself for MY reasons. Because I hate this toxic gatekeeping within the development community. I'm in the IT for quite a few years now, quite a few years a professional developer myself and had way to much "you did something wrong" guys.
If you wanna help someone, give hints in a direction.
If you wanna help someone but you don't wanna give hints and/or a direction -> don't help.

I love that you two guys wanna help and I almost read every single of your comments, just do it sometimes in a more "friendly" way haha
Instead of "so much wrong info :pepe021: " how about "hey. you got some codes/concepts wrong, may take a look at line/code xx. If you can't find the issue, just hook me up, im happy to help!"
Clear and well explained
Thank you 😉❤
 

Backshift

Solid & Active Platinian
Oct 10, 2023
53
35
18
32
If you wanna help someone but you don't wanna give hints and/or a direction -> don't help.
Yes, this is totally fair, its also what I have done in all the threads I have posted in.

Instead of "so much wrong info :pepe021: " how about "hey. you got some codes/concepts wrong, may take a look at line/code xx. If you can't find the issue, just hook me up, im happy to help!"
Again, totally fair and I agree with you, my first comment in one of nowhere's thread is exactly this: Megathread: Modding Features - Platinmods.com - Android & iOS MODs, Mobile Games & Apps

nowhere liked that post, then this thread comes up and the same info is here too which yes, gave the impression that nowhere didnt listen to the feedback.

@nowhere_222 Please don't think im hating on you, CodeJutsu isn't either, yes we know each other, we were both staff on another site for years, our concern was that people new to modding would see your thread and could potentially start building a foundation with certain bits of info that isn't right and its always harder to learn something correctly the second time than to learn it correctly from the start.

Either way @DaRealPanDa thanks for the input!

Happy Modding
 
  • Like
Reactions: nowhere_222

CodeJutsu

Platinian
Oct 1, 2023
47
24
8
30
The comment from CodeJutsu got deleted because it was 0% helpful. Saying someone "you*re wrong" without giving a hint on where someone is wrong is the same as the "why don't you get that? thats some basic stuff!" comments on stackoverflow which these users even get banned for lol
If someone is wrong, try to give him hints. No one wants to be spoonfed, but hints are necessary so people can improve. If I had an instructor back in my day as an Apprentice for Software Developer who just told me "you did something wrong" and thats it and he would do that 2 or 3 times, you can be sure that I would be the reason that this instructor won't be an instructor anymore xD
Nowhere overreacts, thats true, but the comment got deleted by myself for MY reasons. Because I hate this toxic gatekeeping within the development community. I'm in the IT for quite a few years now, quite a few years a professional developer myself and had way to much "you did something wrong" guys.
If you wanna help someone, give hints in a direction.
If you wanna help someone but you don't wanna give hints and/or a direction -> don't help.

I love that you two guys wanna help and I almost read every single of your comments, just do it sometimes in a more "friendly" way haha
Instead of "so much wrong info :pepe021: " how about "hey. you got some codes/concepts wrong, may take a look at line/code xx. If you can't find the issue, just hook me up, im happy to help!"
I totally agree with what you've said and i apologize if i was so blunt about what was wrong. And like what @Backshift the only concern was that people would build up a wrong info over the time. And just in case that @nowhere_222 wants more clarification on what i meant we can do it through pm I'm happy to help any time
 
  • Like
Reactions: nowhere_222

nowhere_222

Just Crazy
Original poster
Jul 29, 2022
480
6,083
193
23
Inner Peace 🕊️
Yes, this is totally fair, its also what I have done in all the threads I have posted in.



Again, totally fair and I agree with you, my first comment in one of nowhere's thread is exactly this: Megathread: Modding Features - Platinmods.com - Android & iOS MODs, Mobile Games & Apps

nowhere liked that post, then this thread comes up and the same info is here too which yes, gave the impression that nowhere didnt listen to the feedback.

@nowhere_222 Please don't think im hating on you, CodeJutsu isn't either, yes we know each other, we were both staff on another site for years, our concern was that people new to modding would see your thread and could potentially start building a foundation with certain bits of info that isn't right and its always harder to learn something correctly the second time than to learn it correctly from the start.

Either way @DaRealPanDa thanks for the input!

Happy Modding
I totally agree with what you've said and i apologize if i was so blunt about what was wrong. And like what @Backshift the only concern was that people would build up a wrong info over the time. And just in case that @nowhere_222 wants more clarification on what i meant we can do it through pm I'm happy to help any time
I would be very happy to know which hex codes you are pointing out that might be false info or mistaken by my own
So i can fix them 💻
❤😉
 

driiiizu

Rookie
Nov 20, 2023
4
0
1
33
i dont recommend using arm32 hex codes (as they crash or dont work). in my case the only option is hex patching, but if you're making apk or module, hook is the only way to go