//
// SimplePlayer::hideSecondary from 0x8ba54c to 0x8ba610 (196 bytes)
//
// 2 xrefs:
// > GJItemIcon::darkenStoreItem @ 0x8ba9b8
// > ??> @ 0x88c30
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:56:27 +0000
//
GJRobotSprite *__fastcall SimplePlayer::hideSecondary(SimplePlayer *this)
{
__int64 v2; // x0
GJRobotSprite *v3; // x0
GJRobotSprite *result; // x0
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 76) + 344LL))(*((_QWORD *)this + 76), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 77) + 344LL))(*((_QWORD *)this + 77), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 79) + 344LL))(*((_QWORD *)this + 79), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 78) + 344LL))(*((_QWORD *)this + 78), 0);
v2 = *((_QWORD *)this + 80);
if ( v2 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1256LL))(v2);
v3 = *((GJRobotSprite **)this + 80);
if ( v3 )
GJRobotSprite::hideGlow(v3);
}
result = *((GJRobotSprite **)this + 81);
if ( result )
{
(*(void (__fastcall **)(GJRobotSprite *))(*(_QWORD *)result + 1256LL))(result);
result = *((GJRobotSprite **)this + 81);
if ( result )
return (GJRobotSprite *)GJRobotSprite::hideGlow(result);
}
return result;
}