//
// UIOptionsLayer::ccTouchEnded from 0x8d8ca0 to 0x8d8d1c (124 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'UIOptionsLayer::ccTouchEnded @ 0x8d8d20
// > ??> @ 0x67b78
// > ??> @ 0x119e6a0
//
// 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 UIOptionsLayer::ccTouchEnded(UIOptionsLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
int v4; // w19
int m_nId; // w22
int v6; // w20
int v7; // w1
GJUINode *Node; // x0
v4 = 0;
m_nId = a2->m_nId;
if ( a1->m_dual )
v6 = 4;
else
v6 = 1;
do
{
while ( 1 )
{
v7 = v4++;
Node = UIOptionsLayer::getNode(a1, v7);
if ( m_nId == Node->m_touchID )
break;
if ( v4 == v6 )
return;
}
Node->m_touchID = -1;
}
while ( v4 != v6 );
}