//
// sub_7581D4 from 0x7581d4 to 0x7581f8 (36 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
//
wint_t __fastcall sub_7581D4(int a1, wchar_t wc)
{
if ( wc == -1 )
return -(fflush(*(FILE **)(a1 + 32)) != 0);
else
return j_putwc(wc, *(__FILE **)(a1 + 32));
}