// // cocos2d::CCSkewTo::startWithTarget from 0x5b6838 to 0x5b691c (228 bytes) // // 1 xrefs: // > cocos2d::CCSkewBy::startWithTarget @ 0x5b693c // // 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; // r0 float v5; // r1 int v6; // r0 float v7; // s15 float (__fastcall *getSkewY)(cocos2d::CCNode *__hidden); // r3 float v9; // s15 float v10; // s15 float v11; // r0 float v12; // r1 int v13; // r0 float v14; // s15 int v15; // s15 int m_uIndexInArray; // s15 cocos2d::CCActionInterval::startWithTarget(a1, a2); v4 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCNode *))a2->getSkewX)(a2)); *(float *)&a1[1].m_nLuaID = v4; if ( v4 <= 0.0 ) v5 = -180.0; else v5 = 180.0; *(float *)&v6 = fmodf(v4, v5); v7 = *(float *)&a1[1].m_uReference; getSkewY = a2->getSkewY; a1[1].m_nLuaID = v6; v9 = v7 - *(float *)&a1[1].m_nLuaID; if ( v9 > 180.0 ) v9 = v9 - 360.0; *(float *)&a1[1].m_eObjType = v9; v10 = *(float *)&a1[1].m_eObjType; if ( v10 < -180.0 ) *(float *)&a1[1].m_eObjType = v10 + 360.0; v11 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCNode *))getSkewY)(a2)); *(float *)&a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = v11; if ( v11 <= 0.0 ) v12 = -360.0; else v12 = 360.0; *(float *)&v13 = fmodf(v11, v12); v14 = *(float *)&a1[1].m_uAutoReleaseCount; a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = v13; *(float *)&v15 = v14 - *(float *)&a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag; if ( *(float *)&v15 > 180.0 ) *(float *)&v15 = *(float *)&v15 - 360.0; a1[1].m_uIndexInArray = v15; m_uIndexInArray = a1[1].m_uIndexInArray; if ( *(float *)&m_uIndexInArray < -180.0 ) *(float *)&a1[1].m_uIndexInArray = *(float *)&m_uIndexInArray + 360.0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source