//
// sub_53488 from 0x53488 to 0x534b6 (46 bytes)
//
// 1 xrefs:
// > sub_53460 @ 0x53474
//
// 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:44 +0000
//
int __fastcall sub_53488(int a1, int a2)
{
int v2; // r0
int result; // r0
v2 = *(_DWORD *)(a1 + 8);
if ( v2 < 0 )
v2 = -v2;
result = (int)(float)((float)v2 * 1.5);
if ( result < a2 )
result = a2;
if ( result <= 8 )
return 8;
return result;
}