//
// sub_14035CEC0 from 0x14035cec0 to 0x14035cf45 (133 bytes)
//
// 5 xrefs:
// > sub_14035B670 @ 0x14035b7aa
// > sub_14035B670 @ 0x14035b7b9
// > ??> @ 0x1408b9fec
// > ??> @ 0x1408b9ffc
// > ??> @ 0x14092102c
//
// 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 11:30:51 +0000
//
_DWORD *__fastcall sub_14035CEC0(__int64 a1, __int64 a2, _DWORD *a3)
{
_DWORD *v3; // r10
char *v5; // r11
__int64 v6; // r8
int v7; // eax
__int64 v8; // rcx
__int64 v9; // r9
__int64 v10; // rdx
v3 = a3;
if ( a1 != a2 )
{
v5 = (char *)a3 - a1;
v6 = a1 + 24;
do
{
v7 = *(_DWORD *)(v6 - 24);
v6 += 40;
*v3 = v7;
v3 += 10;
*(_DWORD *)&v5[v6 - 60] = *(_DWORD *)(v6 - 60);
*(_DWORD *)&v5[v6 - 56] = *(_DWORD *)(v6 - 56);
v5[v6 - 52] = *(_BYTE *)(v6 - 52);
v8 = *(_QWORD *)(v6 - 48);
v9 = *(_QWORD *)(v6 - 32);
v10 = *(_QWORD *)(v6 - 40);
*(_QWORD *)(v6 - 32) = 0;
*(_QWORD *)(v6 - 40) = 0;
*(_QWORD *)(v6 - 48) = 0;
*(_QWORD *)&v5[v6 - 48] = v8;
*(_QWORD *)&v5[v6 - 40] = v10;
*(_QWORD *)&v5[v6 - 32] = v9;
}
while ( v6 - 24 != a2 );
}
return v3;
}