//
// GhostTrailEffect::stopTrail from 0x3e4fb8 to 0x3e4fe4 (44 bytes)
//
// 1 xrefs:
// > PlayerObject::toggleGhostEffect @ 0x438896
//
// 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:04 +0000
//
int __fastcall GhostTrailEffect::stopTrail(GhostTrailEffect *this)
{
void (__fastcall ***v2)(_DWORD, GhostTrailEffect *); // r0
v2 = *((void (__fastcall ****)(_DWORD, GhostTrailEffect *))this + 77);
if ( v2 )
(**v2)(v2, this);
cocos2d::CCNode::unscheduleAllSelectors(this);
cocos2d::CCNode::stopAllActions(this);
return (*(int (__fastcall **)(GhostTrailEffect *))(*(_DWORD *)this + 268))(this);
}