//
// GJBaseGameLayer::removePlayer2 from 0x99e8bc to 0x99e920 (100 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::toggleDualMode @ 0x9e6c2c
// > GJBaseGameLayer::toggleDualMode @ 0x9e6d00
// > ??> @ 0x870d0
//
// 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:58:06 +0000
//
__int64 __fastcall GJBaseGameLayer::removePlayer2(GJBaseGameLayer *this)
{
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 408) + 528LL))(*((_QWORD *)this + 408), 1);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 408) + 912LL))(*((_QWORD *)this + 408), 0);
PlayerObject::releaseAllButtons(*((PlayerObject **)this + 408));
PlayerObject::removeAllParticles(*((cocos2d::CCArray ***)this + 408));
return PlayerObject::deactivateStreak(*((cocos2d::CCMotionStreak ***)this + 408), 1u);
}