Created
March 10, 2018 16:31
-
-
Save encrypted-def/3b488e17257e0d981e2cb4691a5db62c to your computer and use it in GitHub Desktop.
[Reversing] Pikachu Volleyball sub_409D50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int __thiscall sub_409D50(BYTE *this, int a2) | |
{ | |
BYTE *v2; // esi@1 | |
int v3; // edi@1 | |
signed int v4; // ecx@1 | |
v2 = this; | |
v3 = 0; | |
GetKeyboardState(this); | |
v4 = 0; | |
do | |
{ | |
v3 |= v2[*(&v2[32 * a2 + 256] + v4)] >> 7 << v4; | |
++v4; | |
} | |
while ( v4 < 32 ); | |
return v3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment