// // sub_777528 from 0x777528 to 0x777566 (62 bytes) // // 0 xrefs: // // 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_777528(int *a1, int a2, unsigned int a3) { int v3; // r0 int v4; // r3 unsigned int v6; // r3 int *v7; // r0 int v8; // t1 v3 = *a1; v4 = *(_DWORD *)(v3 - 12); if ( !v4 ) return -1; v6 = v4 - 1; if ( a3 >= v6 ) a3 = v6; v7 = (int *)(v3 + 4 * a3); while ( 1 ) { v8 = *v7--; if ( v8 != a2 ) return a3; if ( !a3 ) break; --a3; } return -1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source