//
// sub_758154 from 0x758154 to 0x75817e (42 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall sub_758154(int a1, wchar_t *a2, int a3)
{
int i; // r4
wchar_t v7; // t1
if ( !a3 )
return 0;
for ( i = 0; i != a3; ++i )
{
v7 = *a2++;
if ( putwc(v7, *(__FILE **)(a1 + 32)) == -1 )
break;
}
return i;
}