//
// SimplePlayer::hideSecondary from 0x50b7aa to 0x50b81c (114 bytes)
//
// 1 xrefs:
// > GJItemIcon::darkenStoreItem @ 0x50ba5e
//
// 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:51:28 +0000
//
GJRobotSprite *__fastcall SimplePlayer::hideSecondary(SimplePlayer *this)
{
int v2; // r0
GJRobotSprite *v3; // r0
int v4; // r0
GJRobotSprite *result; // r0
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 128) + 172))(*((_DWORD *)this + 128), 0);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 129) + 172))(*((_DWORD *)this + 129), 0);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 131) + 172))(*((_DWORD *)this + 131), 0);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 130) + 172))(*((_DWORD *)this + 130), 0);
v2 = *((_DWORD *)this + 132);
if ( v2 )
(*(void (__fastcall **)(int))(*(_DWORD *)v2 + 628))(v2);
v3 = *((GJRobotSprite **)this + 132);
if ( v3 )
GJRobotSprite::hideGlow(v3);
v4 = *((_DWORD *)this + 133);
if ( v4 )
(*(void (__fastcall **)(int))(*(_DWORD *)v4 + 628))(v4);
result = *((GJRobotSprite **)this + 133);
if ( result )
return (GJRobotSprite *)GJRobotSprite::hideGlow(result);
return result;
}