// // cocos2d::CCSkewTo::startWithTarget from 0x180036ce0 to 0x180036ded (269 bytes) // // 4 xrefs: // > cocos2d::CCSkewBy::startWithTarget @ 0x180036ca9 // > @ 0x1800ef7f0 // > @ 0x18014cf68 // > @ 0x1801baa38 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:35 +0000 // void __fastcall cocos2d::CCSkewTo::startWithTarget(cocos2d::CCSkewTo *this, struct cocos2d::CCNode *a2) { float v4; // xmm0_4 float v5; // xmm1_4 float v6; // xmm0_4 float v7; // xmm1_4 float v8; // xmm0_4 float v9; // xmm1_4 float v10; // xmm0_4 float v11; // xmm1_4 cocos2d::CCAction::startWithTarget(this, a2); *((_DWORD *)this + 22) = 0; *((_BYTE *)this + 92) = 1; v4 = (*(float (__fastcall **)(struct cocos2d::CCNode *))(*(_QWORD *)a2 + 264LL))(a2); if ( v4 <= 0.0 ) v5 = -180.0; else v5 = 180.0; v6 = fmodf(v4, v5); v7 = *((float *)this + 28) - v6; *((float *)this + 26) = v6; *((float *)this + 30) = v7; if ( v7 > 180.0 ) { v7 = v7 - 360.0; *((float *)this + 30) = v7; } if ( v7 < -180.0 ) *((float *)this + 30) = v7 + 360.0; v8 = (*(float (__fastcall **)(struct cocos2d::CCNode *))(*(_QWORD *)a2 + 280LL))(a2); if ( v8 <= 0.0 ) v9 = -360.0; else v9 = 360.0; v10 = fmodf(v8, v9); v11 = *((float *)this + 29) - v10; *((float *)this + 27) = v10; *((float *)this + 31) = v11; if ( v11 > 180.0 ) { v11 = v11 - 360.0; *((float *)this + 31) = v11; } if ( v11 < -180.0 ) *((float *)this + 31) = v11 + 360.0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source