//
// cocos2d::CCSet::anyObject from 0xd45260 to 0xd452c8 (104 bytes)
//
// 2 xrefs:
// > cocos2d::CCTouchDispatcher::touchesBegan @ 0xdb22b0
// > ??> @ 0x9e578
//
// 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 13:07:33 +0000
//
__int64 __fastcall cocos2d::CCSet::anyObject(cocos2d::CCSet *this)
{
_QWORD *v1; // x3
__int64 result; // x0
_QWORD *v3; // x1
_QWORD *v4; // x3
_QWORD *v5; // t1
_QWORD *v6; // x0
_QWORD *v7; // x0
bool v8; // zf
v1 = *((_QWORD **)this + 7);
if ( !v1 )
return 0;
result = 0;
if ( !v1[2] )
return result;
v5 = (_QWORD *)*v1;
v4 = v1 + 1;
v3 = v5;
LABEL_4:
if ( v3 == v4 )
return 0;
while ( 1 )
{
result = v3[4];
if ( result )
return result;
v6 = (_QWORD *)v3[1];
if ( !v6 )
{
v7 = v3;
do
{
v3 = (_QWORD *)v3[2];
v8 = v7 == (_QWORD *)*v3;
v7 = v3;
}
while ( !v8 );
goto LABEL_4;
}
do
{
v3 = v6;
v6 = (_QWORD *)*v6;
}
while ( v6 );
if ( v3 == v4 )
return 0;
}
}