You have to understand the basic assembler instructions and you need a converter like this one:
1.
HEX To ARM Converter Online
2.
ARM To HEX Converter Online
or you use the one which i use:
shell-storm.org
Basic Instructions are as example:
ADD <----- ADD a specific value to a Method
MOV <----- It's like change the value from the Method to a specific value
SUB <----- Substract a specific value in a Method
NOP <----- No Operation Operator, means when you use that the value will freeze as example
BX LR <----- Is like "return", so this will end the method
RET <----- Is like "return", so this will end the method but for x86 modding
For armeabi-v7a libraries i'm using the exact same hex code everytime:
Return " 1 " or "True" for bool:
01 00 A0 E3 1E FF 2F E1
as instruction:
MOV R0, #1
BX LR
Return " 0 " or "False" for bool:
00 00 A0 E3 1E FF 2F E1
as instruction:
MOV R0, #0
BX LR
Return a high Value ( only for Int, for a Method with a short data type this one will not work ):
12 07 A0 E3 1E FF 2F E1
as instruction:
MOV R0, #0x480000
BX LR
But from all the Instructions above i'm using only MOV, BX LR and RET. Never used ADD, SUB, NOP, but it depends on your own modding style, on the Method and if it's a libil2cpp.so Game or a libGame.so.