//
// UIOptionsLayer::ccTouchEnded from 0x1002e46ec to 0x1002e4728 (60 bytes)
//
// 2 xrefs:
// > sub_1002E4728 @ 0x1002e472c
// > ??> @ 0x1007e3168
//
// 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)
{
__int64 v3; // x8
int m_nId; // w9
bool m_dual; // w10
__int64 v6; // x13
v3 = 0;
m_nId = a2->m_nId;
m_dual = a1->m_dual;
do
{
v6 = *((_QWORD *)&a1->m_uiNode1 + v3);
if ( *(_DWORD *)(v6 + 352) == m_nId )
*(_DWORD *)(v6 + 352) = -1;
if ( (unsigned int)v3 > 2 )
break;
++v3;
}
while ( m_dual );
}