//
// UILayer::processUINodesTouch from 0x6ef8cc to 0x6ef9b0 (228 bytes)
//
// 5 xrefs:
// > UILayer::ccTouchBegan @ 0x6efab4
// > UILayer::ccTouchBegan @ 0x6efb28
// > UILayer::ccTouchMoved @ 0x6efb78
// > UILayer::ccTouchEnded @ 0x6efbc8
// > ??> @ 0xaa1b8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:51:47 +0000
//
__int64 __fastcall UILayer::processUINodesTouch(__int64 a1, int a2, cocos2d::CCTouch *this)
{
unsigned int v6; // w19
int v7; // w25
int v8; // w23
__int64 result; // x0
__int64 v10; // [xsp+68h] [xbp+68h]
__int64 v11; // [xsp+78h] [xbp+78h] BYREF
_BYTE v12[8]; // [xsp+80h] [xbp+80h] BYREF
v6 = 0;
cocos2d::CCTouch::getLocation(&v11, this);
v7 = *((_DWORD *)this + 14);
if ( *(_BYTE *)(a1 + 624) )
v8 = 4;
else
v8 = 1;
do
{
v10 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 616), v6);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (const cocos2d::CCPoint *)&v11);
result = (unsigned __int8)UILayer::processUINodeTouch(
a1,
a2,
v7,
(const cocos2d::CCPoint *)v12,
v10,
*((double *)this + 11));
if ( (_BYTE)result )
break;
++v6;
}
while ( v6 != v8 );
return result;
}