//
// PlayLayer::toggleGhostEffect from 0x402230 to 0x402254 (36 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x4f4e06
//
// 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:47:24 +0000
//
int __fastcall PlayLayer::toggleGhostEffect(PlayLayer *this, int a2)
{
int result; // r0
result = PlayerObject::toggleGhostEffect(*((_DWORD *)this + 519), a2);
if ( *((_BYTE *)this + 866) )
return PlayerObject::toggleGhostEffect(*((_DWORD *)this + 520), a2);
return result;
}