//
// sub_1401104C0 from 0x1401104c0 to 0x140110562 (162 bytes)
//
// 2 xrefs:
// > sub_14010FDA0 @ 0x14010fedd
// > sub_14010FDA0 @ 0x14010feec
//
// 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:26:49 +0000
//
_DWORD *__fastcall sub_1401104C0(__int64 a1, __int64 a2, _DWORD *a3)
{
__int64 v4; // r8
char *v5; // r9
int v6; // eax
if ( a1 != a2 )
{
v4 = a1 + 48;
v5 = (char *)a3 - a1;
do
{
v6 = *(_DWORD *)(v4 - 48);
v4 += 56;
*a3 = v6;
*(_DWORD *)&v5[v4 - 100] = *(_DWORD *)(v4 - 100);
a3 += 14;
*(_DWORD *)&v5[v4 - 96] = *(_DWORD *)(v4 - 96);
*(_DWORD *)&v5[v4 - 92] = *(_DWORD *)(v4 - 92);
*(_DWORD *)&v5[v4 - 88] = *(_DWORD *)(v4 - 88);
*(_DWORD *)&v5[v4 - 84] = *(_DWORD *)(v4 - 84);
*(_OWORD *)&v5[v4 - 80] = 0;
*(_QWORD *)&v5[v4 - 64] = 0;
*(_QWORD *)&v5[v4 - 56] = 0;
*(_OWORD *)&v5[v4 - 80] = *(_OWORD *)(v4 - 80);
*(_OWORD *)&v5[v4 - 64] = *(_OWORD *)(v4 - 64);
*(_QWORD *)(v4 - 64) = 0;
*(_QWORD *)(v4 - 56) = 15;
*(_BYTE *)(v4 - 80) = 0;
}
while ( v4 - 48 != a2 );
}
return a3;
}