//
// GJGameLevel::getLengthKey from 0x701b84 to 0x701bd0 (76 bytes)
//
// 3 xrefs:
// > EditorPauseLayer::init @ 0x78b6cc
// > EditorPauseLayer::saveLevel @ 0x78e348
// > ??> @ 0x52e60
//
// 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)
{
int result; // w0
result = 5;
if ( !a2 )
{
result = 0;
if ( a1 > 9 )
{
result = 1;
if ( a1 > 29 )
{
result = 2;
if ( a1 > 59 )
{
if ( a1 >= 120 )
return 4;
else
return 3;
}
}
}
}
return result;
}