// // sub_100108FB0 from 0x100108fb0 to 0x10010908d (221 bytes) // // 5 xrefs: // > sub_1000F5470 @ 0x1000f56cf // > sub_1000F66F0 @ 0x1000f6760 // > sub_100109B30 @ 0x100109c55 // > sub_100109D00 @ 0x100109f07 // > sub_100109D00 @ 0x100109f23 // // 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 // __int64 __fastcall sub_100108FB0(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { __int64 v5; // r15 __int128 v6; // xmm0 const void *v7; // r12 signed __int64 v8; // r13 char *v9; // rax char *v10; // r14 if ( a2 != a3 ) { v5 = a2; do { *(_QWORD *)a4 = *(_QWORD *)v5; *(_OWORD *)(a4 + 8) = 0; *(_QWORD *)(a4 + 24) = 0; v7 = *(const void **)(v5 + 8); v8 = *(_QWORD *)(v5 + 16) - (_QWORD)v7; if ( v8 ) { if ( v8 < 0 ) sub_100108E70(); v9 = (char *)operator new(v8); *(_QWORD *)(a4 + 8) = v9; *(_QWORD *)(a4 + 16) = v9; v10 = &v9[v8]; *(_QWORD *)(a4 + 24) = &v9[v8]; memcpy(v9, v7, v8); *(_QWORD *)(a4 + 16) = v10; } v6 = *(_OWORD *)(v5 + 32); *(_OWORD *)(a4 + 42) = *(_OWORD *)(v5 + 42); *(_OWORD *)(a4 + 32) = v6; v5 += 64; a4 += 64; } while ( v5 != a3 ); } return a4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source