//
// TouchControlEditLayer::hideSiblings from 0x7a345c to 0x7a34ca (110 bytes)
//
// 1 xrefs:
// > TouchControlEditLayer::onEnter @ 0x7a34d8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:55 +0000
//
cocos2d::CCArray *__fastcall TouchControlEditLayer::hideSiblings(TouchControlEditLayer *this)
{
cocos2d::CCArray *result; // r0
cocos2d::CCArray *v3; // r7
cocos2d::CCObject *v4; // r0
unsigned int i; // r4
TouchControlEditLayer *v6; // r0
cocos2d::CCObject *v7; // r6
result = (cocos2d::CCArray *)(*(int (__fastcall **)(TouchControlEditLayer *))(*(_DWORD *)this + 256))(this);
if ( result )
{
result = (cocos2d::CCArray *)(*(int (__fastcall **)(cocos2d::CCArray *))(*(_DWORD *)result + 244))(result);
v3 = result;
if ( result )
{
if ( !*((_DWORD *)this + 237) )
{
v4 = (cocos2d::CCObject *)cocos2d::CCArray::create(result);
*((_DWORD *)this + 237) = v4;
cocos2d::CCObject::retain(v4);
}
for ( i = 0; ; ++i )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3);
if ( i >= (unsigned int)result )
break;
v6 = (TouchControlEditLayer *)cocos2d::CCArray::objectAtIndex(v3, i);
v7 = v6;
if ( v6 != this && i )
{
if ( (*(int (__fastcall **)(TouchControlEditLayer *))(*(_DWORD *)v6 + 176))(v6) )
{
(*(void (__fastcall **)(cocos2d::CCObject *, _DWORD))(*(_DWORD *)v7 + 172))(v7, 0);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 237), v7);
}
}
}
}
}
return result;
}