//
// sub_48D28 from 0x48d28 to 0x48d5a (50 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:40:39 +0000
//
int __fastcall sub_48D28(_DWORD *a1, _DWORD *a2, int a3, int a4)
{
int result; // r0
int v7; // [sp+4h] [bp-Ch] BYREF
v7 = a4;
result = (*(int (__fastcall **)(_DWORD *, int *))(*a1 + 76))(a1, &v7);
if ( !result )
{
if ( (v7 & 0x10) != 0 )
{
if ( a2 )
{
*a2 = a1[46];
return 0;
}
else
{
return 31;
}
}
else
{
return 40;
}
}
return result;
}