// // sub_1002E5380 from 0x1002e5380 to 0x1002e5463 (227 bytes) // // 2 xrefs: // > sub_1002E50D0 @ 0x1002e52e3 // > sub_1002E50D0 @ 0x1002e5303 // // 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:28:21 +0000 // __int64 __fastcall sub_1002E5380(__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_100093980(); 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