// // GJDifficultySprite::getDifficultyFrame from 0x1002e57fc to 0x1002e58a0 (164 bytes) // // 2 xrefs: // > GJDifficultySprite::init @ 0x1002e579c // > GJDifficultySprite::updateDifficultyFrame @ 0x1002e58fc // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // std::string *__usercall GJDifficultySprite::getDifficultyFrame@(int a1@, int a2@, std::string *a3@) { cocos2d::CCString *v6; // x0 char *CString; // x0 std::string *result; // x0 v6 = (cocos2d::CCString *)sub_100268F4C("difficulty_%02d_", a1); CString = (char *)cocos2d::CCString::getCString(v6); sub_100009900(a3, CString); if ( a2 == 1 && (unsigned int)(a1 - 6) <= 4 ) return std::string::append(a3, "btn2_001.png"); result = std::string::append(a3, "btn_001.png"); if ( a1 == -1 ) return std::string::assign(a3, "difficulty_auto_btn_001.png"); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source