// // sub_1008D8B80 from 0x1008d8b80 to 0x1008d8d70 (496 bytes) // // 4 xrefs: // > sub_1008D8730 @ 0x1008d8735 // > sub_1008D8740 @ 0x1008d8749 // > sub_1008D8760 @ 0x1008d876c // > sub_1008D8780 @ 0x1008d8793 // // 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:42 +0000 // __int64 __fastcall sub_1008D8B80(_QWORD *a1) { void *v2; // rdi __int64 v3; // r14 __int64 v4; // r15 void *v5; // rdi void *v6; // rdi void *v7; // rdi void *v8; // rdi void *v9; // rdi __int64 v10; // r14 __int64 v11; // r15 void *v12; // rdi *a1 = off_100BB15C0; a1[40] = off_100BB1B30; a1[41] = &off_100BB1BA0; a1[42] = off_100BB1BB8; a1[43] = off_100BB1BD8; a1[44] = off_100BB1C00; a1[51] = off_100BB1C30; a1[54] = off_100BB1CB0; a1[68] = off_100BB1CD0; a1[83] = off_100BB1D18; a1[84] = &off_100BB1D48; v2 = (void *)a1[127]; if ( v2 ) { a1[128] = v2; operator delete(v2); } v3 = a1[124]; if ( v3 ) { v4 = a1[125]; v5 = (void *)a1[124]; if ( v4 != v3 ) { do { if ( (*(_BYTE *)(v4 - 24) & 1) != 0 ) operator delete(*(void **)(v4 - 8)); v4 -= 48; } while ( v4 != v3 ); v5 = (void *)a1[124]; } a1[125] = v3; operator delete(v5); } v6 = (void *)a1[118]; if ( v6 ) { a1[119] = v6; operator delete(v6); } v7 = (void *)a1[109]; if ( v7 ) { a1[110] = v7; operator delete(v7); } v8 = (void *)a1[106]; if ( v8 ) { a1[107] = v8; operator delete(v8); } v9 = (void *)a1[103]; if ( v9 ) { a1[104] = v9; operator delete(v9); } v10 = a1[94]; if ( v10 ) { v11 = a1[95]; v12 = (void *)a1[94]; if ( v11 == v10 ) { LABEL_29: a1[95] = v10; operator delete(v12); return sub_1004936F0((__int64)a1); } while ( 1 ) { if ( (*(_BYTE *)(v11 - 32) & 1) != 0 ) { operator delete(*(void **)(v11 - 16)); if ( (*(_BYTE *)(v11 - 56) & 1) != 0 ) LABEL_27: operator delete(*(void **)(v11 - 40)); } else if ( (*(_BYTE *)(v11 - 56) & 1) != 0 ) { goto LABEL_27; } v11 -= 64; if ( v11 == v10 ) { v12 = (void *)a1[94]; goto LABEL_29; } } } return sub_1004936F0((__int64)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source