//
// GJRobotSprite::hideSecondary from 0x8e2a50 to 0x8e2abc (108 bytes)
//
// 3 xrefs:
// > ??> @ 0x9c5e8
// > ??> @ 0x11a1078
// > ??> @ 0x11a1618
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJRobotSprite::hideSecondary(GJRobotSprite *a1)
{
unsigned int v2; // w19
__int64 v3; // x0
bool v4; // cf
unsigned int v5; // w1
v2 = 0;
while ( 1 )
{
v4 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_secondArray);
v5 = v2++;
if ( v4 )
break;
v3 = cocos2d::CCArray::objectAtIndex(a1->m_secondArray, v5);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 328LL))(v3, 0);
}
a1->m_extraSprite->setVisible(a1->m_extraSprite, 0);
}