// // sub_10066A2F0 from 0x10066a2f0 to 0x10066a3f9 (265 bytes) // // 1 xrefs: // > sub_100654A90 @ 0x100654c1e // // 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:35:00 +0000 // void __fastcall sub_10066A2F0(_QWORD *a1, __int64 a2, __int64 a3, unsigned __int64 a4) { __int64 v6; // r15 char *v8; // r12 char *v9; // rax _QWORD *v10; // rdi char *v11; // [rsp+40h] [rbp-30h] if ( a4 ) { if ( a4 >= 0x666666666666667LL ) sub_10066A4A0(a1); v6 = a2; v8 = (char *)operator new(40 * a4); *a1 = v8; a1[1] = v8; a1[2] = &v8[40 * a4]; v11 = v8; if ( a2 == a3 ) { v9 = v8; } else { v9 = v8; do { *((_DWORD *)v9 + 2) = *(_DWORD *)(v6 + 8); *(_QWORD *)v9 = *(_QWORD *)v6; v10 = v9 + 16; if ( (*(_BYTE *)(v6 + 16) & 1) != 0 ) { sub_10001AD30(v10, *(const void **)(v6 + 32), *(_QWORD *)(v6 + 24)); v9 = v11; } else { *((_QWORD *)v9 + 4) = *(_QWORD *)(v6 + 32); *(_OWORD *)v10 = *(_OWORD *)(v6 + 16); } v6 += 40; v9 += 40; v11 = v9; } while ( v6 != a3 ); } a1[1] = v9; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source