//
// GJGameLevel::getLengthKey from 0x4ab336 to 0x4ab35e (40 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateLevelSaveInfo @ 0x47090e
// > EditorPauseLayer::init @ 0x509994
//
// 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:49:58 +0000
//
int __fastcall GJGameLevel::getLengthKey(GJGameLevel *this, int a2, bool a3)
{
if ( a2 )
return 5;
if ( (int)this <= 9 )
return 0;
if ( (int)this <= 29 )
return 1;
if ( (int)this <= 59 )
return 2;
if ( (int)this >= 120 )
return 4;
return 3;
}