//
// SimplePlayer::hideSecondary from 0x1003075a4 to 0x100307658 (180 bytes)
//
// 1 xrefs:
// > GJItemIcon::darkenStoreItem @ 0x10030808c
//
// 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 SimplePlayer::hideSecondary(SimplePlayer *a1)
{
GJRobotSprite *m_robotSprite; // x0
GJRobotSprite *v3; // x0
GJSpiderSprite *m_spiderSprite; // x0
GJSpiderSprite *v5; // x0
((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_secondLayer->setVisible)(a1->m_secondLayer, 0);
((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_birdDome->setVisible)(a1->m_birdDome, 0);
((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_detailSprite->setVisible)(a1->m_detailSprite, 0);
((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_outlineSprite->setVisible)(a1->m_outlineSprite, 0);
m_robotSprite = a1->m_robotSprite;
if ( m_robotSprite )
{
((void (__fastcall *)(GJRobotSprite *))m_robotSprite->hideSecondary)(m_robotSprite);
v3 = a1->m_robotSprite;
if ( v3 )
GJRobotSprite::hideGlow(v3);
}
m_spiderSprite = a1->m_spiderSprite;
if ( m_spiderSprite )
{
((void (__fastcall *)(GJSpiderSprite *))m_spiderSprite->hideSecondary)(m_spiderSprite);
v5 = a1->m_spiderSprite;
if ( v5 )
GJRobotSprite::hideGlow(v5);
}
}