// // sub_1800D3E80 from 0x1800d3e80 to 0x1800d40c4 (580 bytes) // // 7 xrefs: // > sub_1800DB1D0 @ 0x1800db391 // > sub_1800DB1D0 @ 0x1800db459 // > sub_1800DB1D0 @ 0x1800db4b1 // > @ 0x180142b2c // > @ 0x180142b64 // > @ 0x180142b74 // > @ 0x1801ba614 // // 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_1800D3E80(void **a1, unsigned int a2, int a3) { size_t v6; // rdx char *v7; // rax _QWORD *v8; // rbx int v9; // esi int v10; // edx void ***v11; // rax unsigned int v12; // [rsp+40h] [rbp-28h] BYREF unsigned int v13; // [rsp+44h] [rbp-24h] BYREF int v14; // [rsp+78h] [rbp+10h] BYREF int v15; // [rsp+88h] [rbp+20h] BYREF if ( a2 == 262145 ) { v6 = 8LL * ++dword_1801A9F70; v7 = (char *)realloc(Src, v6); Src = v7; if ( a3 ) { *(_QWORD *)&v7[8 * dword_1801A9F70 - 8] = a1; } else { memmove(v7 + 8, v7, 8LL * dword_1801A9F70 - 8); *(_QWORD *)Src = a1; } } else if ( a2 == 262146 ) { v8 = (_QWORD *)qword_1801A9F60; v9 = 0; if ( qword_1801A9F60 ) { do { if ( (void **)v8[9] == a1 ) { sub_1800D6780(v8, &v15, &v14); sub_1800D6EF0((_DWORD)v8, 0, 0, 0, v15, v14); sub_1800D67F0((_DWORD)v8, (unsigned int)&v13, (unsigned int)&v12, 0, 0); sub_1800D7300(v8, v13, v12); } v8 = (_QWORD *)*v8; } while ( v8 ); } v10 = dword_1801A9F70; if ( dword_1801A9F70 > 0 ) { v11 = (void ***)Src; while ( *v11 != a1 ) { ++v9; ++v11; if ( v9 >= dword_1801A9F70 ) goto LABEL_16; } --dword_1801A9F70; memmove((char *)Src + 8 * v9, (char *)Src + 8 * v9 + 8, 8 * (v10 - 1 - (__int64)v9)); } } LABEL_16: if ( xmmword_1801AB210 ) xmmword_1801AB210(a1, a2); if ( a2 == 262146 ) { if ( a1 ) { nullsub_1(a1); free(a1[24]); free(a1[25]); free(a1[26]); *((_OWORD *)a1 + 12) = 0; *((_OWORD *)a1 + 13) = 0; free(a1[28]); free(a1[29]); free(a1[30]); *((_OWORD *)a1 + 14) = 0; *((_OWORD *)a1 + 15) = 0; free(a1[19]); free(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source