// // sub_1005DF318 from 0x1005df318 to 0x1005df388 (112 bytes) // // 4 xrefs: // > sub_10054310C @ 0x100543168 // > sub_1005D7DAC @ 0x1005d7dcc // > sub_1006119C8 @ 0x1006119f4 // > sub_1006125EC @ 0x100612608 // // 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_1005DF318(__int64 result, __int64 (__fastcall *a2)(_QWORD, __int64), __int64 a3) { _QWORD *v5; // x21 int v6; // w8 __int64 v7; // x22 _QWORD *v8; // x8 _QWORD *v9; // x23 v5 = (_QWORD *)result; if ( result ) { v6 = *(_DWORD *)(result + 24) - 1; if ( (v6 & 0x80000000) == 0 ) { v7 = v6; do { v8 = *(_QWORD **)(*v5 + 8 * v7); if ( v8 ) { do { v9 = (_QWORD *)v8[1]; result = a2(*v8, a3); v8 = v9; } while ( v9 ); } } while ( v7-- >= 1 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source