// // GJDifficultySprite::getDifficultyFrame from 0x5e01b0 to 0x5e021c (108 bytes) // // 2 xrefs: // > GJDifficultySprite::init @ 0x5e023e // > GJDifficultySprite::updateDifficultyFrame @ 0x5e0316 // // 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:54:15 +0000 // int *__fastcall GJDifficultySprite::getDifficultyFrame(int *a1, const char *a2, int a3) { cocos2d::CCString *v6; // r0 const char *CString; // r0 const char *v8; // r7 size_t v9; // r0 v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"difficulty_%02d_", a2); CString = (const char *)cocos2d::CCString::getCString(v6); *a1 = 0; a1[1] = 0; a1[2] = 0; v8 = CString; v9 = strlen(CString); std::string::__init(a1, v8, v9); if ( a3 == 1 && (unsigned int)(a2 - 6) <= 4 ) { std::string::append(a1, "btn2_001.png", 0xCu); } else { std::string::append(a1, "btn_001.png", 0xBu); if ( a2 == (const char *)-1 ) std::string::assign(a1, "difficulty_auto_btn_001.png"); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source