// // sub_18006CDD0 from 0x18006cdd0 to 0x18006ceac (220 bytes) // // 9 xrefs: // > sub_18006CF60 @ 0x18006cf60 // > sub_18006CF70 @ 0x18006cf8a // > sub_18006CF70 @ 0x18006cf96 // > sub_18006CF70 @ 0x18006d043 // > sub_1800A9340 @ 0x1800a9533 // > sub_1800A9340 @ 0x1800a955b // > @ 0x18013aac8 // > @ 0x18013aad8 // > @ 0x1801b4020 // // 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 // void __fastcall sub_18006CDD0(__int64 a1) { __int64 v1; // rax _QWORD *v3; // r14 __int64 v4; // rbx void *v5; // rcx _QWORD *v6; // rcx void *v7; // rcx v1 = *(_QWORD *)(a1 + 32); if ( v1 ) { do *(_QWORD *)(a1 + 32) = --v1; while ( v1 ); *(_QWORD *)(a1 + 24) = 0; } v3 = (_QWORD *)(a1 + 8); if ( *(_QWORD *)(a1 + 8) ) { v4 = *(_QWORD *)(a1 + 16); if ( v4 ) { do { --v4; v5 = *(void **)(*(_QWORD *)(a1 + 8) + 8 * v4); if ( v5 ) j_j_free_0(v5); } while ( v4 ); v3 = (_QWORD *)(a1 + 8); } v6 = *(_QWORD **)(a1 + 8); if ( (unsigned __int64)(8LL * *(_QWORD *)(a1 + 16)) >= 0x1000 ) { if ( (unsigned __int64)v6 - *(v6 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v6 = (_QWORD *)*(v6 - 1); } j_j_free_0(v6); } v7 = *(void **)a1; *(_QWORD *)a1 = 0; *(_QWORD *)(a1 + 16) = 0; *v3 = 0; j_j_free_0(v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source