// // cocos2d::extension::CCControlButton::ccTouchMoved from 0xa9a5c8 to 0xa9a760 (408 bytes) // // 4 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCControlButton::ccTouchMoved @ 0xa9a764 // > @ 0x5b068 // > @ 0x11f5048 // > @ 0x11fa658 // // 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::extension::CCControlButton::ccTouchMoved( cocos2d::extension::CCControlButton *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { if ( a1->isEnabled(a1) && LOBYTE(a1[1].m_unknown5) && !a1->isSelected(a1) ) { if ( a1->isTouchInside(a1, a2) ) { if ( a1->isHighlighted(a1) ) { if ( a1->isHighlighted(a1) ) a1->sendActionsForControlEvents(a1, 2); } else { a1->setHighlighted(a1, 1); a1->sendActionsForControlEvents(a1, 8); } } else if ( a1->isHighlighted(a1) ) { a1->setHighlighted(a1, 0); a1->sendActionsForControlEvents(a1, 16); } else if ( !a1->isHighlighted(a1) ) { a1->sendActionsForControlEvents(a1, 4); } } else if ( a1->isHighlighted(a1) ) { a1->setHighlighted(a1, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source