// // GJLevelList::frameForListDifficulty from 0x100590350 to 0x1005904b9 (361 bytes) // // 5 xrefs: // > LevelListCell::loadFromList @ 0x10022b205 // > LevelListLayer::init @ 0x100347862 // > LevelListLayer::updateStatsArt @ 0x100349803 // > SelectListIconLayer::init @ 0x10034d089 // > ShareListLayer::init @ 0x10034e6e5 // // 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:26 +0000 // _QWORD *__fastcall GJLevelList::frameForListDifficulty(_QWORD *a1, unsigned int a2, int a3) { char v3; // al unsigned int v7; // esi unsigned int v8; // eax char *v9; // rdi char *v10; // rax char *v11; // r14 __int64 v12; // rax const char *CString; // r12 size_t v14; // rax size_t v15; // r15 char *v16; // r14 size_t v17; // r13 char v19; // [rsp-8h] [rbp-30h] v19 = v3; if ( a2 ) { v7 = 0; if ( a2 < 0xB ) v7 = a2; v8 = a2 - 6; if ( v8 <= 2 ) v7 = dword_100A0CEF8[v8]; if ( a3 == 2 ) { v9 = "diffIcon_%02d_btn_001.png"; } else if ( a3 == 1 && v7 >= 6 ) { v9 = "difficulty_%02d_btn2_001.png"; } else { v9 = "difficulty_%02d_btn_001.png"; } v12 = sub_10088E820(v9, v19); CString = (const char *)cocos2d::CCString::getCString(v12); v14 = strlen(CString); if ( v14 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v15 = v14; if ( v14 >= 0x17 ) { v17 = 26; if ( (v14 | 7) != 0x17 ) v17 = (v14 | 7) + 1; v16 = (char *)operator new(v17); a1[2] = v16; *a1 = v17 + 1; a1[1] = v15; } else { *(_BYTE *)a1 = 2 * v14; v16 = (char *)a1 + 1; if ( !v14 ) goto LABEL_23; } memmove(v16, CString, v15); LABEL_23: v11 = &v16[v15]; goto LABEL_24; } v10 = (char *)operator new(0x20u); a1[2] = v10; *a1 = 33; if ( a3 == 2 ) { a1[1] = 25; qmemcpy(v10, "diffIcon_auto_btn_001.png", 25); v11 = v10 + 25; } else { a1[1] = 27; qmemcpy(v10, "difficulty_auto_btn_001.png", 27); v11 = v10 + 27; } LABEL_24: *v11 = 0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source