//
// cocos2d::CCMenu::ccTouchMoved from 0xd63fec to 0xd64044 (88 bytes)
//
// 5 xrefs:
// > CCMenuExtra::ccTouchMoved @ 0x69142c
// > `non-virtual thunk to'cocos2d::CCMenu::ccTouchMoved @ 0xd64048
// > ??> @ 0x101bf0
// > ??> @ 0x14c3498
// > ??> @ 0x15242c8
//
// This function is hookable on this platform (idp: arm, 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 13:07:52 +0000
//
__int64 __fastcall cocos2d::CCMenu::ccTouchMoved(cocos2d::CCMenu *a1, cocos2d::CCTouch *a2)
{
float *v3; // x19
__int64 result; // x0
v3 = cocos2d::CCMenu::itemForTouch(a1, a2);
result = *((_QWORD *)a1 + 54);
if ( (float *)result != v3 )
{
if ( result )
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 1024LL))(result);
*((_QWORD *)a1 + 54) = v3;
if ( v3 )
return (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v3 + 1016LL))(v3);
}
return result;
}