//
// sub_4FB5A from 0x4fb5a to 0x4fb88 (46 bytes)
//
// 1 xrefs:
// > sub_4FBC8 @ 0x4fbc8
//
// 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:42 +0000
//
int __fastcall sub_4FB5A(int a1, int a2, _DWORD *a3)
{
int result; // r0
if ( a2 < 0 )
return 31;
result = 31;
if ( a3 )
{
if ( *(_DWORD *)(a1 + 800) > a2 )
{
*a3 = *(_DWORD *)(*(_DWORD *)(a1 + 4 * a2 + 808) + 208);
return 0;
}
}
return result;
}