//
// cocos2d::CCMenu::ccTouchMoved from 0x18005b0a0 to 0x18005b127 (135 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800fd560
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bcd3c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:48 +0000
//
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 + 15);
if ( v5 != v6 )
{
if ( v6 )
(*(void (__fastcall **)(struct cocos2d::CCMenuItem *))(*(_QWORD *)v6 + 904LL))(v6);
*((_QWORD *)this + 15) = v5;
if ( v5 )
(*(void (__fastcall **)(struct cocos2d::CCMenuItem *))(*(_QWORD *)v5 + 896LL))(v5);
}
}