//
// sub_48B7E from 0x48b7e to 0x48bb0 (50 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_48B7E(_DWORD *a1, _DWORD *a2, int a3, int a4)
{
int result; // r0
int v7; // r2
int v8; // r3
int v9; // [sp+4h] [bp-Ch] BYREF
v9 = a4;
result = (*(int (__fastcall **)(_DWORD *, int *))(*a1 + 76))(a1, &v9);
if ( !result )
{
if ( (v9 & 0x10) != 0 )
{
if ( a2 )
{
v7 = a1[33];
v8 = a1[34];
*a2 = a1[32];
a2[1] = v7;
a2[2] = v8;
}
return 0;
}
else
{
return 40;
}
}
return result;
}