//
// sub_14035C7E0 from 0x14035c7e0 to 0x14035c882 (162 bytes)
//
// 3 xrefs:
// > sub_14035A540 @ 0x14035a732
// > sub_14035A540 @ 0x14035a749
// > ??> @ 0x140920f6c
//
// 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
//
// Hidden C++ exception states: #wind=3
__int64 __fastcall sub_14035C7E0(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rbx
if ( a1 != a2 )
{
v5 = a1 + 128;
do
{
sub_14035E2B0(a3, v5 - 128);
sub_14035E2B0(a3 + 64, v5 - 64);
sub_14035E2B0(a3 + 128, v5);
*(_DWORD *)(a3 + 192) = *(_DWORD *)(v5 + 64);
a3 += 200;
v5 += 200;
}
while ( v5 - 128 != a2 );
}
sub_14035BF50(a3, a3);
return a3;
}