// // sub_100096220 from 0x100096220 to 0x1000962dc (188 bytes) // // 1 xrefs: // > sub_100095B80 @ 0x100095c2a // // 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:20:10 +0000 // _QWORD *__fastcall sub_100096220(_QWORD *a1, __int64 a2, int *a3) { char *v4; // r13 const void *v5; // r15 signed __int64 v6; // r12 char *v7; // rax char *v8; // r14 __int64 v10; // [rsp+0h] [rbp-30h] v4 = (char *)operator new(0x30u); *a1 = v4; a1[1] = a2; a1[2] = 0; *(_OWORD *)v4 = 0; v10 = *a3; *((_DWORD *)v4 + 4) = v10; *(_OWORD *)(v4 + 24) = 0; *((_QWORD *)v4 + 5) = 0; v5 = *((const void **)a3 + 1); v6 = *((_QWORD *)a3 + 2) - (_QWORD)v5; if ( v6 ) { if ( v6 < 0 ) sub_100093980(); v7 = (char *)operator new(v6); *((_QWORD *)v4 + 3) = v7; *((_QWORD *)v4 + 4) = v7; v8 = &v7[v6]; *((_QWORD *)v4 + 5) = &v7[v6]; memcpy(v7, v5, v6); *((_QWORD *)v4 + 4) = v8; } *((_BYTE *)a1 + 16) = 1; *((_QWORD *)v4 + 1) = v10; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source