// // GhostTrailEffect::runWithTarget from 0x1002f5190 to 0x1002f5240 (176 bytes) // // 1 xrefs: // > PlayerObject::toggleGhostEffect @ 0x1002275ec // // 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 __fastcall GhostTrailEffect::runWithTarget( GhostTrailEffect *a1, cocos2d::CCSprite *a2, float a3, float a4, float a5, float a6, bool a7) { cocos2d::CCDelayTime *v9; // x20 char v10; // w0 __int64 v11; // x1 __int64 v12; // x2 __int64 v13; // x3 __int64 v14; // x4 __int64 v15; // x5 __int64 v16; // x6 __int64 v17; // x7 cocos2d::CCSequence *v18; // x1 cocos2d::SEL_SCHEDULE v19; // 0:x1.16 cocos2d::SEL_CallFunc v20; // 0:x1.16 a1->m_iconSprite = a2; a1->m_snapshotInterval = a3; a1->m_fadeInterval = a4; a1->m_ghostScale = fmaxf(a6, 0.1); a1->m_scaleTwice = a7; v19.ptr = (void (__cdecl *)(float))GhostTrailEffect::trailSnapshot; v19.adj = 0; cocos2d::CCNode::schedule(a1, v19, a3); if ( a5 > 0.0 ) { v9 = cocos2d::CCDelayTime::create(a5); v20.ptr = (void (*)(void))GhostTrailEffect::stopTrail; v20.adj = 0; v10 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v20); v18 = sub_10018A494(v9, v11, v12, v13, v14, v15, v16, v17, v10); cocos2d::CCNode::runAction(a1, v18); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source