// // GJGameLevel::lengthKeyToString from 0x100583f10 to 0x100583fba (170 bytes) // // 6 xrefs: // > EditLevelLayer::setupLevelInfo @ 0x1001ded67 // > LevelCell::loadLocalLevelCell @ 0x100236f56 // > LevelCell::loadCustomLevelCell @ 0x10023960a // > EditorPauseLayer::init @ 0x10027cf86 // > LevelInfoLayer::updateLabelValues @ 0x1002af955 // > LevelSearchLayer::init @ 0x1007063d6 // // This function is hookable on this platform (idp: pc, 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 12:32:21 +0000 // _BYTE *__fastcall GJGameLevel::lengthKeyToString(_BYTE *a1, int a2) { _BYTE *result; // rax _DWORD *v3; // rcx result = a1; v3 = a1 + 1; switch ( a2 ) { case 0: *a1 = 8; strcpy(a1 + 1, "Tiny"); break; case 1: *a1 = 10; a1[5] = 116; *v3 = 1919903827; a1[6] = 0; break; case 2: *a1 = 12; strcpy(a1 + 1, "Medium"); break; case 3: *a1 = 8; strcpy(a1 + 1, "Long"); break; case 5: *a1 = 10; a1[5] = 46; *v3 = 1952541776; a1[6] = 0; break; default: *a1 = 4; strcpy(a1 + 1, "XL"); break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source