// // GJGameLevel::lengthKeyToString from 0x4acde8 to 0x4ace5e (118 bytes) // // 6 xrefs: // > LevelCell::loadLocalLevelCell @ 0x42864e // > LevelCell::loadCustomLevelCell @ 0x42fe7e // > LevelSearchLayer::init @ 0x4992fa // > LevelInfoLayer::updateLabelValues @ 0x49bd4e // > EditLevelLayer::setupLevelInfo @ 0x4a0936 // > EditorPauseLayer::init @ 0x50999e // // 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:59 +0000 // GJGameLevel *__fastcall GJGameLevel::lengthKeyToString(GJGameLevel *this, int a2) { const char *v3; // r1 size_t v4; // r2 switch ( a2 ) { case 0: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "Tiny"; *((_DWORD *)this + 2) = 0; goto LABEL_6; case 1: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "Short"; *((_DWORD *)this + 2) = 0; goto LABEL_9; case 2: v4 = 6; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "Medium"; *((_DWORD *)this + 2) = 0; break; case 3: *(_DWORD *)this = 0; v3 = "Long"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; LABEL_6: v4 = 4; break; case 4: *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v3 = "XL"; *((_DWORD *)this + 2) = 0; goto LABEL_11; case 5: *(_DWORD *)this = 0; v3 = "Plat."; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; LABEL_9: v4 = 5; break; default: *(_DWORD *)this = 0; v3 = "XL"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; LABEL_11: v4 = 2; break; } std::string::__init((int *)this, v3, v4); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source