// // sub_A8916 from 0xa8916 to 0xa893e (40 bytes) // // 2 xrefs: // > sub_A893E @ 0xa895a // > sub_A893E @ 0xa8964 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_A8916(int *a1, int *a2, int a3) { int v4; // r0 int result; // r0 v4 = *a2; if ( !*a2 ) { if ( *a1 >= 1 ) a3 = sub_58478(*a1); v4 = a3; *a2 = a3; } result = sub_537B4(v4); if ( !result ) result = *a1; *a1 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source