//
// sub_14049CF60 from 0x14049cf60 to 0x14049cfe7 (135 bytes)
//
// 2 xrefs:
// > sub_14049C3C0 @ 0x14049c4f0
// > sub_14049C3C0 @ 0x14049c4ff
//
// 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:32:55 +0000
//
_DWORD *__fastcall sub_14049CF60(__int64 a1, __int64 a2, _DWORD *a3)
{
__int64 v4; // r8
char *v5; // r10
int v6; // eax
if ( a1 != a2 )
{
v4 = a1 + 40;
v5 = (char *)a3 - a1;
do
{
v6 = *(_DWORD *)(v4 - 40);
v4 += 48;
*a3 = v6;
*(_DWORD *)&v5[v4 - 84] = *(_DWORD *)(v4 - 84);
a3 += 12;
*(_DWORD *)&v5[v4 - 80] = *(_DWORD *)(v4 - 80);
*(_OWORD *)&v5[v4 - 72] = 0;
*(_QWORD *)&v5[v4 - 56] = 0;
*(_QWORD *)&v5[v4 - 48] = 0;
*(_OWORD *)&v5[v4 - 72] = *(_OWORD *)(v4 - 72);
*(_OWORD *)&v5[v4 - 56] = *(_OWORD *)(v4 - 56);
*(_QWORD *)(v4 - 56) = 0;
*(_QWORD *)(v4 - 48) = 15;
*(_BYTE *)(v4 - 72) = 0;
}
while ( v4 - 40 != a2 );
}
return a3;
}