//
// sub_53488 from 0x53488 to 0x534b6 (46 bytes)
//
// 1 xrefs:
// > sub_53460 @ 0x53474
//
// 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_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;
}