//
// cocos2d::CCMenu::ccTouchEnded from 0x180059070 to 0x1800590a5 (53 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f7120
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2a9c
//
// 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 __fastcall cocos2d::CCMenu::ccTouchEnded(
cocos2d::CCMenu *this,
struct cocos2d::CCTouch *a2,
struct cocos2d::CCEvent *a3)
{
__int64 v4; // rcx
v4 = *(_QWORD *)&this->m_sAdditionalTransform.b;
if ( v4 )
{
(*(void (__fastcall **)(__int64, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))(*(_QWORD *)v4 + 888LL))(
v4,
a2,
a3);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&this->m_sAdditionalTransform.b + 872LL))(*(_QWORD *)&this->m_sAdditionalTransform.b);
}
this->m_sAdditionalTransform.a = 0.0;
}