Answer the question
In order to leave comments, you need to log in
What does this miracle function (ARM/Thumb) (SAMP ANDROID) do?
During the reverse of the SAMP client on android, I stumbled upon this miracle:
void __fastcall encrypt(int *a1, char *a2, unsigned int a3, int a4)
{
int v4; // [sp+38h] [bp+8h]
if ( !(a3 >> 2) )
JUMPOUT(0x88922);
sub_88868(a3 >> 2, (int)a2, a3, a4, v4);
}
.text:00094A6C ADD.W R0, R6, #0x398 ; a1 - int[4]
.text:00094A70 ADD.W R1, R6, #0x3B8 ; a2 - char[8]
.text:00094A74 MOVS R2, #8 ; a3
.text:00094A76 MOVS R3, #0x20 ; ' ' ; a4
.text:00094A78
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question