// // CheckpointGameObject::triggerActivated from 0x10038f8b0 to 0x10038fa80 (464 bytes) // // 1 xrefs: // > @ 0x1008020c8 // // 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 CheckpointGameObject::triggerActivated(CheckpointGameObject *a1, float a2) { char v4; // w8 char v5; // w21 CheckpointGameObject *m_colorSprite; // x0 cocos2d::CCNode *v7; // x20 cocos2d::CCScaleTo *v8; // x0 cocos2d::CCEaseElasticOut *v9; // x0 cocos2d::CCSprite *v10; // x20 __int64 v11; // x21 float v12; // s9 __n128 v13; // q1 __n128 v14; // q0 cocos2d::CCDelayTime *v15; // x21 char v16; // w22 __int64 v17; // x1 __int64 v18; // x2 __int64 v19; // x3 __int64 v20; // x4 __int64 v21; // x5 __int64 v22; // x6 __int64 v23; // x7 cocos2d::CCSequence *v24; // x0 int v25; // [xsp+18h] [xbp-48h] BYREF cocos2d::SEL_CallFunc v26; // 0:x1.16 if ( !a1->m_checkpointActivated ) { v4 = 1; a1->m_checkpointActivated = 1; do { v5 = v4; m_colorSprite = a1; if ( (v4 & 1) == 0 ) m_colorSprite = (CheckpointGameObject *)a1->m_colorSprite; v7 = (cocos2d::CCNode *)((__int64 (__fastcall *)(CheckpointGameObject *, __int64))m_colorSprite->getChildByTag)( m_colorSprite, 1128); ((void (__fastcall *)(cocos2d::CCNode *, float))v7->setScaleX)(v7, 1.4); ((void (__fastcall *)(cocos2d::CCNode *, float))v7->setScaleY)(v7, 1.1); v8 = cocos2d::CCScaleTo::create_1(0.5, 1.0); v9 = cocos2d::CCEaseElasticOut::create(v8, 0.3); cocos2d::CCNode::runAction(v7, v9); v4 = 0; } while ( (v5 & 1) != 0 ); CheckpointGameObject::updateCheckpointSpriteVisibility(a1); v10 = cocos2d::CCSprite::createWithSpriteFrameName("checkpoint_01_shine_001.png"); v11 = ((__int64 (__fastcall *)(CheckpointGameObject *, __int64))a1->getChildByTag)(a1, 1128); (*(void (__fastcall **)(__int64, cocos2d::CCSprite *, __int64))(*(_QWORD *)v11 + 448LL))(v11, v10, 1); v12 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 312LL))(v11) * 0.5; v13.n128_f32[0] = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 312LL))(v11) + 4) * 0.5; v14.n128_f32[0] = v12; sub_100022980(v14, v13, &v25); ((void (__fastcall *)(cocos2d::CCSprite *, int *))v10->setPosition)(v10, &v25); v15 = cocos2d::CCDelayTime::create(0.1); v16 = (unsigned __int8)cocos2d::CCFadeOut::create(0.5); v26.ptr = (void (*)(void))520; v26.adj = 1; cocos2d::CCCallFunc::create(v10, v26); v24 = sub_10018A494(v15, v17, v18, v19, v20, v21, v22, v23, v16); cocos2d::CCNode::runAction(v10, v24); } if ( !a1->m_isMultiTriggered ) EnhancedGameObject::triggerActivated(a1, a2); a1->m_spawnXPosition = a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source