//
// sub_C83CFC from 0xc83cfc to 0xc83d4c (80 bytes)
//
// 1 xrefs:
// > sub_C85C88 @ 0xc85dec
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_C83CFC(__int64 result, __int64 a2, __int64 a3, int a4, int a5, int a6)
{
__int64 v6; // x8
__int64 v7; // x6
if ( a4 < a5 )
{
v6 = (unsigned int)(a6 - 1) + 1LL;
do
{
v7 = 0;
if ( a6 > 0 )
{
do
{
*(_BYTE *)(a3 + v7) = BYTE1(*(_DWORD *)(a2 + 4LL * *(unsigned __int8 *)(result + v7)));
++v7;
}
while ( a6 > (int)v7 );
a3 += v6;
result += v6;
}
++a4;
}
while ( a4 != a5 );
}
return result;
}