//
// SimplePlayer::hideSecondary from 0x100359ed0 to 0x100359f7a (170 bytes)
//
// 1 xrefs:
// > GJItemIcon::darkenStoreItem @ 0x10035acdc
//
// This function is hookable on this platform (idp: pc, 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:28:53 +0000
//
__int64 __fastcall SimplePlayer::hideSecondary(__int64 a1)
{
__int64 result; // rax
__int64 v3; // rdi
__int64 v4; // rdx
__int64 v5; // rcx
__int64 v6; // rdi
__int64 v7; // rdi
__int64 v8; // rdx
__int64 v9; // rcx
__int64 v10; // rdi
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 608) + 344LL))(*(_QWORD *)(a1 + 608), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 616) + 344LL))(*(_QWORD *)(a1 + 616), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 632) + 344LL))(*(_QWORD *)(a1 + 632), 0);
result = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 624) + 344LL))(*(_QWORD *)(a1 + 624), 0);
v3 = *(_QWORD *)(a1 + 640);
if ( v3 )
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1256LL))(v3);
v6 = *(_QWORD *)(a1 + 640);
if ( v6 )
result = GJRobotSprite::hideGlow(v6, 0, v4, v5);
}
v7 = *(_QWORD *)(a1 + 648);
if ( v7 )
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1256LL))(v7);
v10 = *(_QWORD *)(a1 + 648);
if ( v10 )
return GJRobotSprite::hideGlow(v10, 0, v8, v9);
}
return result;
}