//
// sub_CEC574 from 0xcec574 to 0xcec5d8 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x121d6f0
//
// 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_CEC574(__int64 a1, __int64 a2, __int64 a3)
{
__int64 i; // x19
if ( !a3 )
return 0;
for ( i = 0; i != a3; ++i )
{
if ( putwc(*(_DWORD *)(a2 + 4 * i), *(__FILE **)(a1 + 64)) == -1 )
break;
}
return i;
}