// // sub_10056C500 from 0x10056c500 to 0x10056c654 (340 bytes) // // 1 xrefs: // > sub_100567BDC @ 0x100567c38 // // 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 // _QWORD *__fastcall sub_10056C500(int a1, __int64 a2) { _QWORD *v4; // x0 _QWORD *v5; // x19 _QWORD *v6; // x0 _QWORD *v7; // x0 __int64 v8; // x0 v4 = off_10085DED0(1u, 0x180u); v5 = v4; if ( !v4 ) return nullptr; *v4 = 764702; if ( (unsigned int)sub_100549DC8((__int64)(v4 + 10)) || (unsigned int)sub_10056BDE8( (__int64)(v5 + 17), a1, (__int64)sub_10056F528, (__int64)sub_10056F538, (__int64)sub_10056F54C) || (unsigned int)sub_10058108C(v5 + 25, a2) || (v6 = sub_10056BAA4((__int64)nullsub_236), (v5[4] = v6) == 0) || (v7 = sub_10056BAA4((__int64)nullsub_236), (v5[5] = v7) == 0) || (v8 = sub_100567AF0(), (v5[35] = v8) == 0) ) { sub_10056C20C((__int64)(v5 + 17)); sub_10056C20C((__int64)(v5 + 10)); sub_1005810F8(v5 + 25); sub_1005587A4(v5[35]); v5[35] = 0; sub_10056BC4C((_QWORD *)v5[4], 0); sub_10056BC4C((_QWORD *)v5[5], 0); off_10085DEB8(v5); return nullptr; } *(_QWORD *)(v8 + 96) = v5; *(_QWORD *)(v8 + 2328) = v5 + 25; v5[39] = 5; v5[36] = -1; return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source