// // sub_1002F5820 from 0x1002f5820 to 0x1002f58a7 (135 bytes) // // 3 xrefs: // > @ 0x1002f5808 // > @ 0x1002fb87e // > @ 0x1002fc253 // // 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_1002F5820(__int64 a1) { _QWORD *v1; // rbx __int64 v2; // r14 __int64 v3; // r15 void *v4; // rdi void *v5; // rdi v1 = *(_QWORD **)a1; *(_QWORD *)a1 = 0; if ( v1 ) { if ( *(_BYTE *)(a1 + 16) == 1 ) { v2 = v1[3]; if ( v2 ) { v3 = v1[4]; v4 = (void *)v1[3]; if ( v3 != v2 ) { do { v5 = *(void **)(v3 - 24); if ( v5 ) { *(_QWORD *)(v3 - 16) = v5; operator delete(v5); } v3 -= 64; } while ( v3 != v2 ); v4 = (void *)v1[3]; } v1[4] = v2; operator delete(v4); } } operator delete(v1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source