// // GhostTrailEffect::runWithTarget from 0x5a5e94 to 0x5a5f40 (172 bytes) // // 2 xrefs: // > PlayerObject::toggleGhostEffect @ 0x628cfc // > @ 0x698b8 // // 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 GhostTrailEffect::runWithTarget( GhostTrailEffect *a1, cocos2d::CCSprite *a2, float a3, float a4, float a5, float a6, bool a7) { cocos2d::CCSequence *v8; // x20 cocos2d::CCFiniteTimeAction *v9; // x0 cocos2d::CCAction *v10; // x0 cocos2d::SEL_SCHEDULE v12; // 0:x1.16 a1->m_iconSprite = a2; a1->m_snapshotInterval = a3; a1->m_fadeInterval = a4; if ( a6 <= 0.1 ) a6 = 0.1; a1->m_scaleTwice = a7; a1->m_ghostScale = a6; v12.adj = 0; v12.ptr = (void (__cdecl *)(float))GhostTrailEffect::trailSnapshot; cocos2d::CCNode::schedule(a1, v12); if ( a5 > 0.0 ) { v8 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a5); v9 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, GhostTrailEffect::stopTrail, 0); v10 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v8, v9, 0); cocos2d::CCNode::runAction(a1, v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source