// // sub_10056006C from 0x10056006c to 0x100560138 (204 bytes) // // 1 xrefs: // > sub_10056DB30 @ 0x10056e2c4 // // 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_10056006C(_QWORD *a1, _BYTE *a2) { __int64 v4; // x20 __int64 (__fastcall *v5)(_QWORD, _BYTE *); // x8 __int64 v6; // x22 __int64 result; // x0 __int64 v8; // x0 int v9; // w8 int v10; // w9 v4 = *a1; v5 = *(__int64 (__fastcall **)(_QWORD, _BYTE *))(*(_QWORD *)(*a1 + 800LL) + 16LL); if ( !v5 ) return 0; v6 = *(_QWORD *)v4; result = v5(*a1, a2); if ( (_DWORD)result != 55 ) { LABEL_9: if ( (_DWORD)result ) return result; if ( *a2 ) { v8 = *(_QWORD *)v4; v9 = *(_DWORD *)(v4 + 824); v10 = *(_DWORD *)(v4 + 828); *(_BYTE *)(*(_QWORD *)v4 + 528LL) = 0; if ( v9 <= v10 ) v9 = v10; *(_DWORD *)(v8 + 480) = v9 + 1; sub_10054A76C(v8, 6); } return 0; } if ( !*(_BYTE *)(v4 + 738) ) return 55; if ( *(_QWORD *)(v6 + 96) ) return 55; result = sub_1005676FC(a1); if ( !(_DWORD)result ) { v4 = *a1; result = (*(__int64 (__fastcall **)(_QWORD, _BYTE *))(*(_QWORD *)(*a1 + 800LL) + 16LL))(*a1, a2); goto LABEL_9; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source