// // GhostTrailEffect::runWithTarget from 0x2fbb34 to 0x2fbbd6 (162 bytes) // // 1 xrefs: // > PlayerObject::toggleGhostEffect @ 0x3416c4 // // 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 // // local variable allocation has failed, the output may be wrong! void GhostTrailEffect::runWithTarget( GhostTrailEffect *a1, cocos2d::CCSprite *a2, float a3, float a4, float a5, float a6, bool a7) { float v8; // s15 void (*v9)(GhostTrailEffect *, float); // r1 OVERLAPPED int v10; // r2 OVERLAPPED cocos2d::CCSequence *v11; // r6 cocos2d::CCFiniteTimeAction *v12; // r0 int v13; // r3 cocos2d::CCAction *v14; // r0 a1->m_fadeInterval = a4; a1->m_iconSprite = a2; v8 = a6; a1->m_scaleTwice = a7; a1->m_snapshotInterval = a3; v9 = GhostTrailEffect::trailSnapshot; v10 = 0; if ( a6 <= 0.1 ) v8 = 0.1; a1->m_ghostScale = v8; cocos2d::CCNode::schedule(a1, *(cocos2d::SEL_SCHEDULE *)&v9); if ( a5 > 0.0 ) { v11 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a5); v12 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, GhostTrailEffect::stopTrail, 0); v14 = (cocos2d::CCAction *)cocos2d::CCSequence::create( v11, v12, 0, v13, GhostTrailEffect::trailSnapshot, 0, GhostTrailEffect::stopTrail, 0); cocos2d::CCNode::runAction(a1, v14); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source