//
// GJGameLevel::getLengthKey from 0x1000acaac to 0x1000acae8 (60 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::init @ 0x10039becc
// > EditorPauseLayer::saveLevel @ 0x10039e470
//
// 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 GJGameLevel::getLengthKey(int a1, bool a2)
{
int v2; // w11
int v3; // w10
int v4; // w9
if ( (unsigned int)a1 < 0x78 )
v2 = 3;
else
v2 = 4;
if ( (unsigned int)a1 >= 0x3C )
v3 = v2;
else
v3 = 2;
if ( (unsigned int)a1 >= 0x1E )
v4 = v3;
else
v4 = 1;
if ( a1 < 10 )
v4 = 0;
if ( a2 )
return 5;
else
return v4;
}