// // sub_1002FA8C0 from 0x1002fa8c0 to 0x1002fa9a3 (227 bytes) // // 2 xrefs: // > sub_1002FA610 @ 0x1002fa823 // > sub_1002FA610 @ 0x1002fa843 // // 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_1002FA8C0(__int64 a1, __int128 *a2, __int128 *a3, __int64 a4) { __int64 v4; // rbx __int128 *v5; // r15 __int64 v6; // rbx __int128 v7; // xmm0 __int128 v8; // xmm1 const void *v9; // r12 signed __int64 v10; // r13 char *v11; // rax char *v12; // r14 v4 = a4; if ( a2 != a3 ) { v5 = a2; v6 = a4 + 72; do { v7 = *v5; v8 = v5[1]; *(_OWORD *)(v6 - 40) = v5[2]; *(_OWORD *)(v6 - 56) = v8; *(_OWORD *)(v6 - 72) = v7; *(_OWORD *)(v6 - 24) = 0; *(_QWORD *)(v6 - 8) = 0; v9 = *((const void **)v5 + 6); v10 = *((_QWORD *)v5 + 7) - (_QWORD)v9; if ( v10 ) { if ( v10 < 0 ) sub_1000C40D0(); v11 = (char *)operator new(v10); *(_QWORD *)(v6 - 24) = v11; *(_QWORD *)(v6 - 16) = v11; v12 = &v11[v10]; *(_QWORD *)(v6 - 8) = &v11[v10]; memcpy(v11, v9, v10); *(_QWORD *)(v6 - 16) = v12; } v5 = (__int128 *)((char *)v5 + 72); v6 += 72; } while ( v5 != a3 ); return v6 - 72; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source