//
// sub_48EB0 from 0x48eb0 to 0x48f04 (84 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_48EB0(_DWORD *a1, bool *a2, _DWORD *a3, _DWORD *a4)
{
int result; // r0
_BYTE v9[4]; // [sp+4h] [bp-14h] BYREF
result = (*(int (__fastcall **)(_DWORD *, _BYTE *))(*a1 + 76))(a1, v9);
if ( !result )
{
if ( (v9[0] & 0x10) != 0 )
{
if ( a2 )
*a2 = (a1[10] & 0x100000) != 0;
if ( a3 )
*a3 = a1[48];
if ( a4 )
*a4 = a1[49];
return 0;
}
else
{
return 40;
}
}
return result;
}