//
// UILayer::processUINodesTouch from 0x1004c5110 to 0x1004c51ad (157 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:31:07 +0000
//
__int64 __fastcall UILayer::processUINodesTouch(__int64 a1, unsigned int a2, __int64 a3)
{
unsigned int v4; // r13d
unsigned int v5; // r12d
__int64 v6; // rbx
__int64 result; // rax
__int64 v8; // [rsp+8h] [rbp-48h] BYREF
__int64 v9; // [rsp+10h] [rbp-40h] BYREF
__int64 v10; // [rsp+18h] [rbp-38h]
unsigned int v11; // [rsp+20h] [rbp-30h]
char v12; // [rsp+27h] [rbp-29h]
v11 = a2;
cocos2d::CCTouch::getLocation((__int64)&v9, a3);
v10 = a3;
v4 = *(_DWORD *)(a3 + 56);
v12 = *(_BYTE *)(a1 + 624);
v5 = 0;
do
{
v6 = sub_1007FEFE0(*(_QWORD *)(a1 + 616), v5);
sub_1002782D0(&v8, &v9);
result = UILayer::processUINodeTouch(a1, v11, v4, &v8, v6, *(double *)(v10 + 88));
if ( (_BYTE)result )
break;
if ( v5 > 2 )
break;
++v5;
}
while ( v12 );
return result;
}