// // GJLevelList::frameForListDifficulty from 0x80798c to 0x807ab0 (292 bytes) // // 6 xrefs: // > LevelListCell::loadFromList @ 0x7401fc // > SelectListIconLayer::init @ 0xba9c94 // > LevelListLayer::updateStatsArt @ 0xbab08c // > ShareListLayer::init @ 0xbad998 // > LevelListLayer::init @ 0xbaedbc // > @ 0x761b0 // // 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 12:54:46 +0000 // __int64 *__usercall GJLevelList::frameForListDifficulty@(int a1@, int a2@, __int64 *a3@) { cocos2d::CCString *v5; // x0 const char *CString; // x0 size_t v7; // x0 char *v8; // [xsp+28h] [xbp+28h] if ( a1 ) { if ( (unsigned int)a1 <= 0xA ) { if ( a1 >= 6 ) { if ( a1 > 7 ) { if ( a1 == 8 ) a1 = 6; } else { ++a1; } } if ( a2 != 2 ) { if ( a1 > 5 && a2 == 1 ) { v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"difficulty_%02d_btn2_001.png", (const char *)(unsigned int)a1); goto LABEL_8; } LABEL_7: v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"difficulty_%02d_btn_001.png", (const char *)(unsigned int)a1); LABEL_8: CString = (const char *)cocos2d::CCString::getCString(v5); *a3 = 0; a3[1] = 0; a3[2] = 0; v8 = (char *)CString; v7 = strlen(CString); std::string::__init(a3, v8, v7); return a3; } } else { a1 = 0; if ( a2 != 2 ) goto LABEL_7; } v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"diffIcon_%02d_btn_001.png", (const char *)(unsigned int)a1); goto LABEL_8; } *a3 = 0; a3[1] = 0; a3[2] = 0; if ( a2 == 2 ) std::string::__init(a3, "diffIcon_auto_btn_001.png", 0x19u); else std::string::__init(a3, "difficulty_auto_btn_001.png", 0x1Bu); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source