// // sub_1004D8960 from 0x1004d8960 to 0x1004d89d0 (112 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 // __int64 __fastcall sub_1004D8960(_BYTE *a1, int a2) { _BYTE *v2; // x19 _BYTE *v3; // x20 unsigned int v4; // w0 __int64 result; // x0 v2 = a1; if ( a2 == -1 ) { while ( *v2 ) { result = sub_1004D89D0(v2); v2 += (unsigned int)result; if ( !(_DWORD)result ) return result; } return 1; } else { v3 = &a1[a2]; while ( v2 < v3 ) { v4 = sub_1004D89D0(v2); v2 += v4; if ( !v4 ) return 0; } return v2 == v3; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source