//
// GJRobotSprite::hideSecondary from 0x10024016c to 0x1002401d8 (108 bytes)
//
// 2 xrefs:
// > ??> @ 0x1007c9ad0
// > ??> @ 0x1007ca088
//
// 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 __fastcall GJRobotSprite::hideSecondary(GJRobotSprite *a1)
{
__int64 v2; // x20
__int64 v3; // x0
if ( (unsigned int)sub_10024A36C(a1->m_secondArray) )
{
v2 = 0;
do
{
v3 = sub_10024A388(a1->m_secondArray, v2);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 328LL))(v3, 0);
v2 = (unsigned int)(v2 + 1);
}
while ( (unsigned int)v2 < (unsigned int)sub_10024A36C(a1->m_secondArray) );
}
((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_extraSprite->setVisible)(a1->m_extraSprite, 0);
}