// // sub_18004ED00 from 0x18004ed00 to 0x18004ede0 (224 bytes) // // 6 xrefs: // > @ 0x180166e60 // > @ 0x180166ea0 // > @ 0x180166ee0 // > @ 0x1801819a4 // > @ 0x1801819d8 // > @ 0x1801f8814 // // 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_18004ED00(__int64 a1, __int64 a2) { int v3; // ebp int v5; // edi __int64 v6; // rsi __int64 v7; // rdx __int64 v8; // rdi __int64 result; // rax if ( a2 ) { v3 = 0; v5 = 0; if ( *(int *)(a2 + 8) > 0 ) { v6 = 0; do { v7 = *(_QWORD *)(v6 + *(_QWORD *)(a2 + 32)); if ( v7 ) sub_180033C90(a1, v7); ++v5; v6 += 8; } while ( v5 < *(_DWORD *)(a2 + 8) ); } sub_180033C90(a1, *(_QWORD *)(a2 + 32)); if ( *(int *)(a2 + 40) > 0 ) { v8 = 0; do { sub_180033C90(a1, *(_QWORD *)(*(_QWORD *)(a2 + 48) + v8)); ++v3; v8 += 8; } while ( v3 < *(_DWORD *)(a2 + 40) ); } sub_180033C90(a1, *(_QWORD *)(a2 + 48)); *(_OWORD *)a2 = 0; *(_OWORD *)(a2 + 16) = 0; *(_OWORD *)(a2 + 32) = 0; *(_OWORD *)(a2 + 48) = 0; *(_QWORD *)(a2 + 64) = 0; return sub_180033C90(a1, a2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source