// // GJGameLevel::getLengthKey from 0x1000cefa0 to 0x1000cefdc (60 bytes) // // 2 xrefs: // > LevelEditorLayer::updateLevelSaveInfo @ 0x100404e38 // > EditorPauseLayer::init @ 0x100443534 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 10:58:53 +0000 // __int64 __fastcall GJGameLevel::getLengthKey(unsigned int a1, char a2) { int v2; // w11 int v3; // w10 unsigned int v4; // w9 if ( a1 < 0x78 ) v2 = 3; else v2 = 4; if ( a1 >= 0x3C ) v3 = v2; else v3 = 2; if ( a1 >= 0x1E ) v4 = v3; else v4 = 1; if ( (int)a1 < 10 ) v4 = 0; if ( (a2 & 1) != 0 ) return 5; else return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source