// // InfoLayer::getSpriteButton from 0x42f804 to 0x42f8a0 (156 bytes) // // 4 xrefs: // > InfoLayer::init @ 0x430f06 // > InfoLayer::init @ 0x430f3a // > InfoLayer::init @ 0x430fd0 // > InfoLayer::init @ 0x43101c // // 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 // CCMenuItemSpriteExtra *InfoLayer::getSpriteButton( InfoLayer *a1, const char *a2, cocos2d::SEL_MenuHandler a3, cocos2d::CCMenu *a4, float a5, cocos2d::CCPoint a6) { ButtonSprite *v7; // r0 ButtonSprite *v8; // r8 cocos2d::CCPoint v9; // r1 CCMenuItemSpriteExtra *v10; // r5 char ptr; // [sp+10h] [bp-1Ch] unsigned int v13; // [sp+10h] [bp-1Ch] cocos2d::CCPoint v14; // [sp+1Ch] [bp-10h] BYREF ptr = (char)a3.ptr; v7 = (ButtonSprite *)cocos2d::CCSprite::createWithSpriteFrameName(a2); v8 = ButtonSprite::create(v7, (cocos2d::CCSprite *)&dword_20, 0, 32.0, 1.0, 1, "GJ_button_01.png", nullptr, ptr); cocos2d::CCPoint::CCPoint(&v14, (const cocos2d::CCPoint *)LODWORD(a6.x)); LODWORD(v9.x) = &v14; ButtonSprite::updateSpriteOffset(v8, v9); v10 = CCMenuItemSpriteExtra::create(v8, nullptr, (cocos2d::SEL_MenuHandler)__PAIR64__(v13, (unsigned int)a1)); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _DWORD))v10->setScale)(v10, LODWORD(a5)); v10->m_baseScale = a5; if ( a4 ) a4->addChild(a4, v10); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source