// // cocos2d::CCMenu::ccTouchMoved from 0x1800590b0 to 0x180059137 (135 bytes) // // 3 xrefs: // > @ 0x1800f7118 // > @ 0x1801438a8 // > @ 0x1801b2aa8 // // 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 __fastcall cocos2d::CCMenu::ccTouchMoved( cocos2d::CCMenu *this, struct cocos2d::CCTouch *a2, struct cocos2d::CCEvent *a3) { struct cocos2d::CCMenuItem *v5; // rbx struct cocos2d::CCMenuItem *v6; // rcx v5 = cocos2d::CCMenu::itemForTouch((cocos2d::CCMenu *)((char *)this - 320), a2, 0); if ( !v5 ) v5 = cocos2d::CCMenu::itemForTouch((cocos2d::CCMenu *)((char *)this - 320), a2, 1); v6 = *(struct cocos2d::CCMenuItem **)&this->m_sAdditionalTransform.b; if ( v5 != v6 ) { if ( v6 ) ((void (__fastcall *)(struct cocos2d::CCMenuItem *))v6->unselected)(v6); *(_QWORD *)&this->m_sAdditionalTransform.b = v5; if ( v5 ) ((void (__fastcall *)(struct cocos2d::CCMenuItem *))v5->selected)(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source