// // GJDifficultySprite::getDifficultyFrame from 0x8d9cb4 to 0x8d9dc4 (272 bytes) // // 3 xrefs: // > GJDifficultySprite::init @ 0x8d9df0 // > GJDifficultySprite::updateDifficultyFrame @ 0x8d9fcc // > @ 0x831d8 // // 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 // __int64 __usercall GJDifficultySprite::getDifficultyFrame@(unsigned int a1@, int a2@, __int64 a3@) { cocos2d::CCString *v6; // x0 char *CString; // x0 v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"difficulty_%02d_", (const char *)a1); CString = (char *)cocos2d::CCString::getCString(v6); sub_D153B8(a3, CString); if ( a1 - 6 <= 4 && a2 == 1 ) { sub_D15FD4(a3, "btn2_001.png", 12); } else { sub_D15FD4(a3, "btn_001.png", 11); if ( a1 == -1 ) sub_D1798C(a3, "difficulty_auto_btn_001.png", 27); } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source