//
// cocos2d::CCMenu::ccTouchMoved from 0x7dc3b8 to 0x7dc3ea (50 bytes)
//
// 2 xrefs:
// > CCMenuExtra::ccTouchMoved @ 0x3c64f2
// > `non-virtual thunk to'cocos2d::CCMenu::ccTouchMoved @ 0x7dc3ee
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:45 +0000
//
int __fastcall cocos2d::CCMenu::ccTouchMoved(cocos2d::CCMenu *a1, cocos2d::CCTouch *a2)
{
float *v3; // r4
int result; // r0
v3 = cocos2d::CCMenu::itemForTouch(a1, a2);
result = *((_DWORD *)a1 + 84);
if ( v3 != (float *)result )
{
if ( result )
result = (*(int (__fastcall **)(int))(*(_DWORD *)result + 512))(result);
*((_DWORD *)a1 + 84) = v3;
if ( v3 )
return (*(int (__fastcall **)(float *))(*(_DWORD *)v3 + 508))(v3);
}
return result;
}