// // cocos2d::CCSkewTo::startWithTarget from 0xac01d0 to 0xac02dc (268 bytes) // // 3 xrefs: // > cocos2d::CCSkewBy::startWithTarget @ 0xac02fc // > @ 0x2b710 // > @ 0x11fe558 // // 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::CCSkewTo::startWithTarget(cocos2d::CCSkewTo *a1, cocos2d::CCNode *a2) { float v4; // s0 float v5; // s0 float v6; // s0 float v7; // s0 float v8; // s0 float v9; // s0 cocos2d::CCActionInterval::startWithTarget(a1, a2); v4 = a2->getSkewX(a2); *((float *)&a1[1].__vftable + 1) = v4; if ( v4 <= 0.0 ) v5 = fmodf(v4, -180.0); else v5 = fmodf(v4, 180.0); *((float *)&a1[1].__vftable + 1) = v5; v6 = *(float *)&a1[1].m_nLuaID - v5; if ( v6 > 180.0 ) v6 = v6 - 360.0; *(float *)&a1[1].m_uReference = v6; if ( v6 < -180.0 ) *(float *)&a1[1].m_uReference = v6 + 360.0; v7 = a2->getSkewY(a2); *(float *)&a1[1].m_uID = v7; if ( v7 <= 0.0 ) v8 = fmodf(v7, -360.0); else v8 = fmodf(v7, 360.0); *(float *)&a1[1].m_uID = v8; v9 = *(float *)&a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag - v8; if ( v9 > 180.0 ) v9 = v9 - 360.0; *(float *)&a1[1].m_uAutoReleaseCount = v9; if ( v9 < -180.0 ) *(float *)&a1[1].m_uAutoReleaseCount = v9 + 360.0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source