//
// cocos2d::CCComponentContainer::visit from 0xd9fcf4 to 0xd9fd54 (96 bytes)
//
// 2 xrefs:
// > ??> @ 0x5b228
// > ??> @ 0x152fa68
//
// 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:08:29 +0000
//
__int64 __fastcall cocos2d::CCComponentContainer::visit(cocos2d::CCComponentContainer *this, float a2)
{
__int64 result; // x0
__int64 v3; // x1
__int64 i; // x19
result = *((_QWORD *)this + 1);
if ( result )
{
v3 = *(_QWORD *)(result + 56);
if ( v3 )
{
for ( i = *(_QWORD *)(v3 + 288); ; i = *(_QWORD *)(i + 288) )
{
result = (*(__int64 (__fastcall **)(_QWORD, float))(**(_QWORD **)(v3 + 264) + 40LL))(*(_QWORD *)(v3 + 264), a2);
v3 = i;
if ( !i )
break;
}
}
}
return result;
}