//
// sub_5FFF60 from 0x5fff60 to 0x5fff74 (20 bytes)
//
// 5 xrefs:
// > sub_601D4C @ 0x601d64
// > sub_6049F4 @ 0x604a7c
// > sub_6049F4 @ 0x604b3c
// > sub_6049F4 @ 0x604c6c
// > sub_6049F4 @ 0x604d1c
//
// 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_5FFF60(int a1, unsigned int a2)
{
if ( a2 <= 0x7F )
return a1 + 1;
if ( a2 >= 0x800 )
return a1 + 3;
return a1 + 2;
}