// // sub_1008D7160 from 0x1008d7160 to 0x1008d71fc (156 bytes) // // 3 xrefs: // > @ 0x1008cf8f8 // > @ 0x1008d1658 // > @ 0x1008d1664 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:37:41 +0000 // void __fastcall sub_1008D7160(void **a1) { void **v1; // r14 void **v3; // r15 void *v4; // rdi v1 = (void **)*a1; if ( *a1 ) { v3 = (void **)a1[1]; v4 = *a1; if ( v3 == v1 ) { LABEL_13: a1[1] = v1; operator delete(v4); return; } while ( 1 ) { if ( (*(_BYTE *)(v3 - 4) & 1) != 0 ) { operator delete(*(v3 - 2)); if ( (*(_BYTE *)(v3 - 7) & 1) == 0 ) { LABEL_7: if ( (*(_BYTE *)(v3 - 10) & 1) != 0 ) goto LABEL_11; goto LABEL_4; } } else if ( (*(_BYTE *)(v3 - 7) & 1) == 0 ) { goto LABEL_7; } operator delete(*(v3 - 5)); if ( (*(_BYTE *)(v3 - 10) & 1) != 0 ) LABEL_11: operator delete(*(v3 - 8)); LABEL_4: v3 -= 11; if ( v3 == v1 ) { v4 = *a1; goto LABEL_13; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source