// // cocos2d::CCMenuItemSprite::setSelectedImage from 0xaf387c to 0xaf394c (208 bytes) // // 7 xrefs: // > @ 0x63c78 // > @ 0x1138db8 // > @ 0x113f708 // > @ 0x11565f8 // > @ 0x11a2338 // > @ 0x1210128 // > @ 0x1210618 // // 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::setSelectedImage(cocos2d::CCMenuItemSprite *a1, cocos2d::CCNode *a2) { void (__fastcall *setAnchorPoint)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 cocos2d::CCNode *m_pSelectedImage; // 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, 2); setAnchorPoint = a2->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v7, 0.0, 0.0); setAnchorPoint(a2, &v7); } m_pSelectedImage = a1->m_pSelectedImage; if ( m_pSelectedImage ) a1->removeChild_0(a1, m_pSelectedImage, 1); v6 = a1->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_pSelectedImage = a2; v6->updateImagesVisibility(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source