//
// GJGameLevel::getLengthKey from 0x3c54b4 to 0x3c54dc (40 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::init @ 0x3ff918
// > EditorPauseLayer::saveLevel @ 0x4013ee
//
// 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 GJGameLevel::getLengthKey(int a1, bool a2)
{
if ( a2 )
return 5;
if ( a1 <= 9 )
return 0;
if ( a1 <= 29 )
return 1;
if ( a1 <= 59 )
return 2;
if ( a1 >= 120 )
return 4;
return 3;
}