// // GJRateLevelLayer::getStarsButton from 0x822a54 to 0x822b10 (188 bytes) // // 2 xrefs: // > GJRateLevelLayer::init @ 0x822d64 // > @ 0x7def8 // // 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 // // local variable allocation has failed, the output may be wrong! CCMenuItemSpriteExtra *GJRateLevelLayer::getStarsButton( GJRateLevelLayer *a1, int a2, cocos2d::SEL_MenuHandler a3, cocos2d::CCMenu *a4, float a5) { void (__cdecl *ptr)(cocos2d::CCObject *); // x22 cocos2d::CCString *v9; // x0 ButtonSprite *CString; // x0 const char *v11; // x6 cocos2d::CCNode *v12; // x0 CCMenuItemSpriteExtra *v13; // x19 cocos2d::SEL_MenuHandler v15; // 0:x2.16 ptr = a3.ptr; v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", *(const char **)&a2); CString = (ButtonSprite *)cocos2d::CCString::getCString(v9); v12 = (cocos2d::CCNode *)ButtonSprite::create( CString, (const char *)&dword_14, 0, 1, 0.5, "bigFont.fnt", "GJ_button_01.png", v11, 30.0); v15.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v15.adj = (size_t)ptr; v13 = CCMenuItemSpriteExtra::create(v12, nullptr, v15); v13->setScale(v13, a5); v13->m_baseScale = a5; if ( a4 ) a4->addChild(a4, v13); return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source