// // cocos2d::CCJumpBy::update from 0x5b6b8c to 0x5b6c72 (230 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 cocos2d::CCJumpBy::update(cocos2d::CCJumpBy *a1, float a2) { float v4; // r0 float v5; // s16 int m_nLuaID; // s15 const cocos2d::CCPoint *v7; // r0 int v8; // r2 bool v9; // r3 int v10; // r2 bool v11; // r3 cocos2d::CCPoint v12; // [sp+4h] [bp-28h] BYREF _BYTE v13[8]; // [sp+Ch] [bp-20h] BYREF _BYTE v14[8]; // [sp+14h] [bp-18h] BYREF cocos2d::CCPoint v15; // [sp+1Ch] [bp-10h] BYREF if ( a1->m_pTarget ) { v4 = fmodf(a2 * (float)a1[1].m_uAutoReleaseCount, 1.0); v5 = (float)(a2 * *(float *)&a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag) + (float)((float)((float)(*(float *)&a1[1].m_uReference * 4.0) * v4) * (float)(1.0 - v4)); m_nLuaID = a1[1].m_nLuaID; v7 = a1->m_pTarget->getPosition(a1->m_pTarget); cocos2d::CCPoint::CCPoint(&v12, v7); cocos2d::CCPoint::operator-(v13, &v12, &a1[1].m_eObjType); cocos2d::CCPoint::operator+(&v15, v13, &a1[1]); cocos2d::CCPoint::operator=((PlayerObject *)&a1[1], COERCE_FLOAT(&v15), v8, v9); cocos2d::CCPoint::CCPoint(&v15, a2 * *(float *)&m_nLuaID, v5); cocos2d::CCPoint::operator+(v14, &a1[1], &v15); a1->m_pTarget->setPosition(a1->m_pTarget, (const cocos2d::CCPoint *)v14); cocos2d::CCPoint::operator=((PlayerObject *)&a1[1].m_eObjType, COERCE_FLOAT(v14), v10, v11); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source