// // cocos2d::CCMenuItemSprite::setDisabledImage from 0xaf394c to 0xaf3a1c (208 bytes) // // 7 xrefs: // > @ 0xb6af0 // > @ 0x1138dc8 // > @ 0x113f718 // > @ 0x1156608 // > @ 0x11a2348 // > @ 0x1210138 // > @ 0x1210628 // // 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 // void cocos2d::CCMenuItemSprite::setDisabledImage(cocos2d::CCMenuItemSprite *a1, cocos2d::CCNode *a2) { void (__fastcall *setAnchorPoint)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 cocos2d::CCNode *m_pDisabledImage; // x1 cocos2d::CCMenuItemSprite_vtbl *v6; // x1 cocos2d::CCPoint v7; // [xsp+40h] [xbp+40h] BYREF if ( a1->m_pNormalImage != a2 ) { if ( a2 ) { a1->addChild_1(a1, a2, 0, 3); setAnchorPoint = a2->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v7, 0.0, 0.0); setAnchorPoint(a2, &v7); } m_pDisabledImage = a1->m_pDisabledImage; if ( m_pDisabledImage ) a1->removeChild_0(a1, m_pDisabledImage, 1); v6 = a1->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_pDisabledImage = a2; v6->updateImagesVisibility(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source