// // sub_1005816DC from 0x1005816dc to 0x100581754 (120 bytes) // // 1 xrefs: // > sub_10056DB30 @ 0x10056deec // // 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_1005816DC(__int64 a1, __int64 a2) { _QWORD *result; // x0 _QWORD *v5; // x1 __int64 **v6; // x8 result = *(_QWORD **)(a2 + 920); v5 = (_QWORD *)*result; if ( *result ) { while ( *v5 != a1 ) { v5 = (_QWORD *)v5[2]; if ( !v5 ) return result; } result = (_QWORD *)sub_10056BD38( result, (__int64)v5, *(_QWORD **)(a2 + 928), *(_QWORD *)(*(_QWORD *)(a2 + 928) + 8LL)); v6 = *(__int64 ***)(a2 + 920); if ( *v6 ) { *(_BYTE *)(a2 + 913) = 0; return (_QWORD *)sub_10056C89C(**v6, 1); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source