//
// PlayLayer::toggleGhostEffect from 0x6f6c30 to 0x6f6c74 (68 bytes)
//
// 3 xrefs:
// > EffectGameObject::triggerObject @ 0x897f78
// > EffectGameObject::triggerObject @ 0x898938
// > ??> @ 0x66208
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:51:51 +0000
//
__int64 __fastcall PlayLayer::toggleGhostEffect(PlayLayer *this, __int64 a2)
{
unsigned int v3; // w20
__int64 result; // x0
v3 = a2;
PlayerObject::toggleGhostEffect(*((_QWORD *)this + 407), a2);
result = *((unsigned __int8 *)this + 1010);
if ( *((_BYTE *)this + 1010) )
return PlayerObject::toggleGhostEffect(*((_QWORD *)this + 408), v3);
return result;
}