// // CheckpointGameObject::updateSyncedAnimation from 0x766c8c to 0x767000 (884 bytes) // // 2 xrefs: // > @ 0x8d948 // > @ 0x116f578 // // 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 CheckpointGameObject::updateSyncedAnimation(CheckpointGameObject *a1, float a2, int a3) { const cocos2d::CCSize *v5; // x0 CheckpointGameObject_vtbl *v6; // x2 __int64 v7; // x24 void (__fastcall *v8)(__int64, __int64 *); // x25 float v9; // s0 cocos2d::CCNode *v10; // x24 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x25 float v12; // s0 cocos2d::CCNode *v13; // x24 void (__fastcall *v14)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x25 float v15; // s0 cocos2d::CCNode *v16; // x20 void (__fastcall *v17)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21 cocos2d::CCNode *v18; // x0 __int64 v19; // x0 cocos2d::CCNode *v20; // x20 void (__fastcall *v21)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21 cocos2d::CCNode *v22; // x0 __int64 v23; // x0 cocos2d::CCNode *v24; // x20 CheckpointGameObject_vtbl *v25; // x2 __int64 v26; // x1 CheckpointGameObject *v27; // x0 void (__fastcall *v28)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x19 __int64 v29; // x0 __int64 v30; // x0 __int64 v31; // x24 void (__fastcall *v32)(__int64, __int64 *); // x25 float HoverValue; // s0 float v34; // [xsp+60h] [xbp+60h] cocos2d::CCPoint v35; // [xsp+70h] [xbp+70h] BYREF cocos2d::CCPoint v36; // [xsp+78h] [xbp+78h] BYREF __int64 v37; // [xsp+80h] [xbp+80h] BYREF v34 = a1->getContentSize(a1)->width * 0.5; v5 = a1->getContentSize(a1); cocos2d::CCPoint::CCPoint(&v35, v34, v5->height * 0.5); v6 = a1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; if ( a1->m_checkpointActivated ) { v31 = (__int64)v6->getChildByTag(a1, 1128); v32 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v31 + 184LL); HoverValue = getHoverValue(a2, 3.0, 5.0, 2.0); cocos2d::CCPoint::CCPoint(&v36, 0.0, HoverValue + 0.0); cocos2d::CCPoint::operator+(&v37, &v35, &v36); v32(v31, &v37); v24 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1128); v25 = a1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v27 = a1; v26 = 1128; } else { v7 = (__int64)v6->getChildByTag(a1, 1125); v8 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v7 + 184LL); v9 = getHoverValue(a2, 4.5, 4.5, 1.8); cocos2d::CCPoint::CCPoint(&v36, -1.0, v9); cocos2d::CCPoint::operator+(&v37, &v35, &v36); v8(v7, &v37); v10 = a1->getChildByTag(a1, 1126); setPosition = v10->setPosition; v12 = getHoverValue(a2, 3.3, 3.3, 1.8); cocos2d::CCPoint::CCPoint(&v36, 0.5, v12); cocos2d::CCPoint::operator+(&v37, &v35, &v36); setPosition(v10, (const cocos2d::CCPoint *)&v37); v13 = a1->getChildByTag(a1, 1127); v14 = v13->setPosition; v15 = getHoverValue(a2, 3.0, 3.0, 1.8); cocos2d::CCPoint::CCPoint(&v36, 0.5, v15 - 1.0); cocos2d::CCPoint::operator+(&v37, &v35, &v36); v14(v13, (const cocos2d::CCPoint *)&v37); v16 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1125); v17 = v16->setPosition; v18 = a1->getChildByTag(a1, 1125); v19 = (__int64)v18->getPosition(v18); v17(v16, (const cocos2d::CCPoint *)v19); v20 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1126); v21 = v20->setPosition; v22 = a1->getChildByTag(a1, 1126); v23 = (__int64)v22->getPosition(v22); v21(v20, (const cocos2d::CCPoint *)v23); v24 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1127); v25 = a1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v26 = 1127; v27 = a1; } v28 = v24->setPosition; v29 = (__int64)v25->getChildByTag(v27, v26); v30 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v29 + 192LL))(v29); v28(v24, (const cocos2d::CCPoint *)v30); }
GD Web Decomp Icon

GD Web Decomp

Raw Source