//
// PromoInterstitial::ccTouchEnded from 0x433d18 to 0x433d48 (48 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'PromoInterstitial::ccTouchEnded @ 0x433d4c
//
// 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 PromoInterstitial::ccTouchEnded(PromoInterstitial *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
cocos2d::CCMenu *m_closeMenu; // r0
if ( a1->m_joystickConnected == a2->m_nId )
{
if ( a1->m_promoTouched )
m_closeMenu = a1->m_closeMenu;
else
m_closeMenu = a1->m_buttonMenu;
((void (__fastcall *)(cocos2d::CCMenu *))m_closeMenu->ccTouchEnded)(m_closeMenu);
a1->m_joystickConnected = -1;
}
}