//
// PlayLayer::toggleGhostEffect from 0x5d0724 to 0x5d0768 (68 bytes)
//
// 3 xrefs:
// > EffectGameObject::triggerObject @ 0x76f87c
// > EffectGameObject::triggerObject @ 0x76fdec
// > ??> @ 0x48288
//
// 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 PlayLayer::toggleGhostEffect(PlayLayer *a1, int a2)
{
PlayerObject::toggleGhostEffect(a1->m_player1, (GhostType)a2);
if ( a1->m_gameState.m_isDualMode )
PlayerObject::toggleGhostEffect(a1->m_player2, (GhostType)a2);
}