//
// GJRobotSprite::hideSecondary from 0x1403adbb0 to 0x1403adc21 (113 bytes)
//
// 3 xrefs:
// > ??> @ 0x14077f668
// > ??> @ 0x14077fbe0
// > ??> @ 0x140923b10
//
// 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 11:31:21 +0000
//
__int64 __fastcall GJRobotSprite::hideSecondary(__int64 a1)
{
unsigned int i; // ebx
struct cocos2d::CCObject *v3; // rax
for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 760)); ++i )
{
v3 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 760), i);
(*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v3 + 336LL))(v3, 0);
}
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 776) + 336LL))(*(_QWORD *)(a1 + 776), 0);
}