//
// sub_57724 from 0x57724 to 0x57788 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x10c5d8
// > ??> @ 0x10c800
//
// 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 sub_57724()
{
_DWORD *v0; // x19
_DWORD *v1; // x20
_DWORD *v2; // x21
bool *v3; // x22
__int64 result; // x0
char v5; // [xsp+Ch] [xbp-34h]
result = ((__int64 (*)(void))loc_57880)();
if ( !(_DWORD)result )
{
if ( (v5 & 0x10) != 0 )
{
if ( v3 )
*v3 = (v1[18] & 0x100000) != 0;
if ( v2 )
*v2 = v1[62];
result = 0;
if ( v0 )
*v0 = v1[63];
}
else
{
return 40;
}
}
return result;
}