// // sub_100560138 from 0x100560138 to 0x1005601b4 (124 bytes) // // 1 xrefs: // > sub_10056DB30 @ 0x10056deb4 // // 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_100560138(__int64 a1, _DWORD *a2) { __int64 result; // x0 __int64 (__fastcall *v5)(__int64, _DWORD *); // x8 __int64 v6; // x0 int v7; // w8 int v8; // w9 result = 0; *a2 = 0; v5 = *(__int64 (__fastcall **)(__int64, _DWORD *))(*(_QWORD *)(a1 + 800) + 32LL); if ( v5 ) { result = v5(a1, a2); if ( !(_DWORD)result ) { if ( *a2 == 1 ) { v6 = *(_QWORD *)a1; v7 = *(_DWORD *)(a1 + 824); v8 = *(_DWORD *)(a1 + 828); *(_BYTE *)(*(_QWORD *)a1 + 528LL) = 0; if ( v7 <= v8 ) v7 = v8; *(_DWORD *)(v6 + 480) = v7 + 1; sub_10054A76C(v6, 6); } return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source