//
// GJBaseGameLayer::removePlayer2 from 0x46f5ba to 0x46f5f8 (62 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::toggleDualMode @ 0x491868
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJBaseGameLayer::removePlayer2(GJBaseGameLayer *a1)
{
a1->m_player2->removeFromParentAndCleanup(a1->m_player2, 1);
a1->m_player2->setOpacity(a1->m_player2, 0);
PlayerObject::releaseAllButtons(a1->m_player2);
PlayerObject::removeAllParticles(a1->m_player2);
PlayerObject::deactivateStreak(a1->m_player2, 1);
}