//
// cocos2d::CCMenu::ccTouchMoved from 0x100270b78 to 0x100270bd8 (96 bytes)
//
// 3 xrefs:
// > sub_100270BD8 @ 0x100270bdc
// > ??> @ 0x100917a88
// > ??> @ 0x10093f828
//
// 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 11:01:46 +0000
//
__int64 __fastcall cocos2d::CCMenu::ccTouchMoved(__int64 a1, __int64 a2)
{
__int64 v3; // x19
__int64 result; // x0
v3 = cocos2d::CCMenu::itemForTouch_1(a1, a2);
result = *(_QWORD *)(a1 + 432);
if ( v3 != result )
{
if ( result )
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 1024LL))(result);
*(_QWORD *)(a1 + 432) = v3;
if ( v3 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1016LL))(v3);
}
return result;
}