//
// GJBaseGameLayer::removePlayer2 from 0x58f28c to 0x58f2ca (62 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::toggleDualMode @ 0x5b913c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:04 +0000
//
int __fastcall GJBaseGameLayer::removePlayer2(GJBaseGameLayer *this)
{
int v2; // r1
int v3; // r2
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 520) + 264))(*((_DWORD *)this + 520), 1);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 520) + 456))(*((_DWORD *)this + 520), 0);
PlayerObject::releaseAllButtons(*((PlayerObject **)this + 520), v2, v3);
PlayerObject::removeAllParticles(*((cocos2d::CCArray ***)this + 520));
return PlayerObject::deactivateStreak(*((_DWORD *)this + 520), 1);
}