Okay so I'm learning a lot about lib patching. I use a program called radare2 in termux in Android.
I'm trying to hack an offline game to get unlimited stars. When collecting stars, each on the value is one.
I dumped libil2cpp.so in Termux, went to the offset and got what you see in the image I posted.
That 1.00000000 is float and "wa fmov s1, 5.0000000" doesn't work.
The reason is because I don't know how to write values as floats.
So what should I do? I know I have to type "wa" write assembly but then what? I tried looking at assembly documentation about fmov but I couldn't find information about writing assembly for floats.
I type "wa fmov s1, 5.00000000"
Error code.
Says cannot assemble.