//
// GJRobotSprite::hideSecondary from 0x1005dd120 to 0x1005dd18a (106 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009750d8
// > ??> @ 0x100975690
//
// 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)
{
unsigned int v1; // r14d
__int64 v2; // rax
if ( (unsigned int)sub_100720070(a1->m_secondArray) )
{
v1 = 0;
do
{
v2 = sub_1007200C0(a1->m_secondArray, v1);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 328LL))(v2, 0);
++v1;
}
while ( v1 < (unsigned int)sub_100720070(a1->m_secondArray) );
}
((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_extraSprite->setVisible)(a1->m_extraSprite, 0);
}