//
// GJRobotSprite::hideSecondary from 0x1002dd1e0 to 0x1002dd24c (108 bytes)
//
// 2 xrefs:
// > ??> @ 0x100922180
// > ??> @ 0x100922748
//
// 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 11:02:45 +0000
//
__int64 __fastcall GJRobotSprite::hideSecondary(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 736)) )
{
v2 = 0;
do
{
v3 = sub_1002E75A0(*(_QWORD *)(a1 + 736), v2);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, 0);
v2 = (unsigned int)(v2 + 1);
}
while ( (unsigned int)v2 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 736)) );
}
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 752) + 344LL))(*(_QWORD *)(a1 + 752), 0);
}