// // CheckpointGameObject::updateSyncedAnimation from 0x3ebeec to 0x3ec126 (570 bytes) // // 0 xrefs: // // 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) { float v5; // s17 const cocos2d::CCSize *v6; // r0 cocos2d::CCNode *(__fastcall *getChildByTag)(cocos2d::CCNode *__hidden, int); // r3 int v8; // r10 void (__fastcall *v9)(int, cocos2d::CCPoint *); // r11 float HoverValue; // r0 cocos2d::CCNode *v11; // r5 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r6 cocos2d::CCNode *v13; // r0 int v14; // r10 void (__fastcall *v15)(int, cocos2d::CCPoint *); // r11 float v16; // r0 cocos2d::CCNode *v17; // r10 void (__fastcall *v18)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r11 float v19; // r0 cocos2d::CCNode *v20; // r10 void (__fastcall *v21)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r11 float v22; // r0 cocos2d::CCNode *v23; // r5 void (__fastcall *v24)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r6 cocos2d::CCNode *v25; // r0 int v26; // r0 cocos2d::CCNode *v27; // r5 void (__fastcall *v28)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r6 cocos2d::CCNode *v29; // r0 int v30; // r0 int v31; // r0 cocos2d::CCPoint v32; // [sp+4h] [bp+0h] BYREF cocos2d::CCPoint v33; // [sp+Ch] [bp+8h] BYREF cocos2d::CCPoint v34; // [sp+14h] [bp+10h] BYREF v5 = *(float *)((int (__fastcall *)(CheckpointGameObject *, _DWORD, int))a1->getContentSize)(a1, LODWORD(a2), a3); v6 = a1->getContentSize(a1); cocos2d::CCPoint::CCPoint(&v32, v5 * 0.5, v6->height * 0.5); getChildByTag = a1->getChildByTag; if ( a1->m_checkpointActivated ) { v8 = (int)getChildByTag(a1, 1128); v9 = *(void (__fastcall **)(int, cocos2d::CCPoint *))(*(_DWORD *)v8 + 92); HoverValue = getHoverValue(a2, 3.0, 5.0, 2.0); cocos2d::CCPoint::CCPoint(&v33, 0.0, HoverValue + 0.0); cocos2d::CCPoint::operator+(&v34, &v32, &v33); v9(v8, &v34); v11 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1128); setPosition = v11->setPosition; v13 = a1->getChildByTag(a1, 1128); } else { v14 = (int)getChildByTag(a1, 1125); v15 = *(void (__fastcall **)(int, cocos2d::CCPoint *))(*(_DWORD *)v14 + 92); v16 = getHoverValue(a2, 4.5, 4.5, 1.8); cocos2d::CCPoint::CCPoint(&v33, -1.0, v16); cocos2d::CCPoint::operator+(&v34, &v32, &v33); v15(v14, &v34); v17 = a1->getChildByTag(a1, 1126); v18 = v17->setPosition; v19 = getHoverValue(a2, 3.3, 3.3, 1.8); cocos2d::CCPoint::CCPoint(&v33, 0.5, v19); cocos2d::CCPoint::operator+(&v34, &v32, &v33); v18(v17, &v34); v20 = a1->getChildByTag(a1, 1127); v21 = v20->setPosition; v22 = getHoverValue(a2, 3.0, 3.0, 1.8); cocos2d::CCPoint::CCPoint(&v33, 0.5, v22 - 1.0); cocos2d::CCPoint::operator+(&v34, &v32, &v33); v21(v20, &v34); v23 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1125); v24 = v23->setPosition; v25 = a1->getChildByTag(a1, 1125); v26 = (int)v25->getPosition(v25); v24(v23, (const cocos2d::CCPoint *)v26); v27 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1126); v28 = v27->setPosition; v29 = a1->getChildByTag(a1, 1126); v30 = (int)v29->getPosition(v29); v28(v27, (const cocos2d::CCPoint *)v30); v11 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1127); setPosition = v11->setPosition; v13 = a1->getChildByTag(a1, 1127); } v31 = (int)v13->getPosition(v13); setPosition(v11, (const cocos2d::CCPoint *)v31); }
GD Web Decomp Icon

GD Web Decomp

Raw Source