// // sub_10066D370 from 0x10066d370 to 0x10066d430 (192 bytes) // // 3 xrefs: // > sub_10066D180 @ 0x10066d244 // > sub_10095BA70 @ 0x10095bb88 // > sub_10095BA70 @ 0x10095bd16 // // 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:02 +0000 // __int64 __fastcall sub_10066D370(__int64 a1, __int64 a2) { _QWORD *v2; // r12 *(_DWORD *)a1 = *(_DWORD *)a2; if ( (*(_BYTE *)(a2 + 8) & 1) != 0 ) { sub_10001AD30((_QWORD *)(a1 + 8), *(const void **)(a2 + 24), *(_QWORD *)(a2 + 16)); v2 = (_QWORD *)(a1 + 32); if ( (*(_BYTE *)(a2 + 32) & 1) != 0 ) goto LABEL_3; LABEL_5: v2[2] = *(_QWORD *)(a2 + 48); *(_OWORD *)v2 = *(_OWORD *)(a2 + 32); goto LABEL_6; } *(_QWORD *)(a1 + 24) = *(_QWORD *)(a2 + 24); *(_OWORD *)(a1 + 8) = *(_OWORD *)(a2 + 8); v2 = (_QWORD *)(a1 + 32); if ( (*(_BYTE *)(a2 + 32) & 1) == 0 ) goto LABEL_5; LABEL_3: sub_10001AD30(v2, *(const void **)(a2 + 48), *(_QWORD *)(a2 + 40)); LABEL_6: *(_OWORD *)(a1 + 56) = 0; *(_QWORD *)(a1 + 72) = 0; return sub_10066D480( a1 + 56, *(_QWORD *)(a2 + 56), *(_QWORD *)(a2 + 64), 0xAAAAAAAAAAAAAAABLL * ((__int64)(*(_QWORD *)(a2 + 64) - *(_QWORD *)(a2 + 56)) >> 5)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source