// // cocos2d::CCMoveBy::update from 0xac05b4 to 0xac06bc (264 bytes) // // 3 xrefs: // > @ 0x8b650 // > @ 0x11fe408 // > @ 0x11fe498 // // 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 cocos2d::CCMoveBy::update(cocos2d::CCMoveBy *a1, float a2) { cocos2d::CCNode *m_pTarget; // x0 const cocos2d::CCPoint *v4; // x0 float v5; // s0 float v6; // s1 float v7; // s0 float v8; // s1 cocos2d::CCPoint v10; // [xsp+68h] [xbp+68h] BYREF __int64 v11; // [xsp+70h] [xbp+70h] BYREF __int64 v12; // [xsp+78h] [xbp+78h] BYREF __int64 v13; // [xsp+80h] [xbp+80h] BYREF m_pTarget = a1->m_pTarget; if ( m_pTarget ) { v4 = m_pTarget->getPosition(m_pTarget); cocos2d::CCPoint::CCPoint(&v10, v4); cocos2d::CCPoint::operator-(&v11, &v10, &a1[1].m_nLuaID); cocos2d::CCPoint::operator+(&v13, (char *)&a1[1].__vftable + 4, &v11); cocos2d::CCPoint::operator=((char *)&a1[1].__vftable + 4, v5, v6); cocos2d::CCPoint::operator*(&a1->m_bFirstTick + 4, a2); cocos2d::CCPoint::operator+(&v12, (char *)&a1[1].__vftable + 4, &v13); v7 = ((float (__fastcall *)(cocos2d::CCNode *, __int64 *))a1->m_pTarget->setPosition)(a1->m_pTarget, &v12); cocos2d::CCPoint::operator=(&a1[1].m_nLuaID, v7, v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source