//
// PlayLayer::toggleGhostEffect from 0x312fa2 to 0x312fc6 (36 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x3edf6a
//
// 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);
}