//
// sub_758010 from 0x758010 to 0x758032 (34 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_758010(int a1, int c)
{
int result; // r0
if ( c == -1 )
{
result = *(_DWORD *)(a1 + 36);
if ( result == -1 )
goto LABEL_5;
}
else
{
result = c;
}
result = ungetc(result, *(FILE **)(a1 + 32));
LABEL_5:
*(_DWORD *)(a1 + 36) = -1;
return result;
}