//
// sub_5BAFE from 0x5bafe to 0x5bb18 (26 bytes)
//
// 2 xrefs:
// > sub_5BABE @ 0x5bacc
// > sub_5BADA @ 0x5baea
//
// 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:48 +0000
//
int __fastcall sub_5BAFE(int a1)
{
int result; // r0
result = sub_5BB18(a1, 0);
if ( !result )
return sub_5BB5A(a1);
return result;
}