Skip to content

Instantly share code, notes, and snippets.

@mlgthatsme
Created October 6, 2016 13:31
Show Gist options
  • Save mlgthatsme/58f825b56b8e5f537e7ac464807f18a4 to your computer and use it in GitHub Desktop.
Save mlgthatsme/58f825b56b8e5f537e7ac464807f18a4 to your computer and use it in GitHub Desktop.
int __cdecl sub_41FA60(int a1, int a2)
{
int result; // eax@3
if ( a1 == 0x8000 )
{
result = 13 * a2 + 245;
}
else if ( a1 == 0x10000 )
{
result = 25 * a2 + 240;
}
else
{
result = 440;
}
return result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment