//
// GJBaseGameLayer::togglePlayerVisibility from 0x1001fcec8 to 0x1001fcf10 (72 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::onPlaytest @ 0x100362bac
// > EffectGameObject::triggerObject @ 0x100385dfc
//
// 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 __fastcall GJBaseGameLayer::togglePlayerVisibility(GJBaseGameLayer *a1, bool a2)
{
PlayerObject::toggleVisibility(a1->m_player1, a2);
if ( a1->m_gameState.m_isDualMode )
PlayerObject::toggleVisibility(a1->m_player2, a2);
}