//
// UIOptionsLayer::ccTouchEnded from 0x1002b5000 to 0x1002b5080 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x100902bc0
//
// 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 UIOptionsLayer::ccTouchEnded(UIOptionsLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
int m_nId; // eax
bool m_dual; // cl
GJUINode *m_uiNode1; // rdx
GJUINode *m_uiNode2; // rdx
GJUINode *m_uiNode3; // rdx
GJUINode *m_uiNode4; // rcx
m_nId = a2->m_nId;
m_dual = a1->m_dual;
m_uiNode1 = a1->m_uiNode1;
if ( m_uiNode1->m_touchID == m_nId )
m_uiNode1->m_touchID = -1;
if ( m_dual )
{
m_uiNode2 = a1->m_uiNode2;
if ( m_uiNode2->m_touchID == m_nId )
m_uiNode2->m_touchID = -1;
m_uiNode3 = a1->m_uiNode3;
if ( m_uiNode3->m_touchID == m_nId )
m_uiNode3->m_touchID = -1;
m_uiNode4 = a1->m_uiNode4;
if ( m_uiNode4->m_touchID == m_nId )
m_uiNode4->m_touchID = -1;
}
}