//
// sub_48AEC from 0x48aec to 0x48b38 (76 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_48AEC(_DWORD *a1, _DWORD *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[29];
if ( a3 )
*a3 = a1[30];
if ( a4 )
*a4 = a1[31];
return 0;
}
else
{
return 40;
}
}
return result;
}