// // cocos2d::CCSkewTo::startWithTarget from 0xd31ef8 to 0xd32004 (268 bytes) // // 3 xrefs: // > cocos2d::CCSkewBy::startWithTarget @ 0xd32024 // > @ 0x41dd0 // > @ 0x1513e68 // // This function is hookable on this platform (idp: arm, 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 13:07:21 +0000 // void __fastcall cocos2d::CCSkewTo::startWithTarget(float *a1, __int64 a2) { float v4; // s0 float v5; // s0 float v6; // s0 float v7; // s0 float v8; // s0 float v9; // s0 cocos2d::CCActionInterval::startWithTarget((__int64)a1, a2); v4 = (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 272LL))(a2); a1[25] = v4; if ( v4 <= 0.0 ) v5 = fmodf(v4, -180.0); else v5 = fmodf(v4, 180.0); a1[25] = v5; v6 = a1[27] - v5; if ( v6 > 180.0 ) v6 = v6 - 360.0; a1[29] = v6; if ( v6 < -180.0 ) a1[29] = v6 + 360.0; v7 = (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 288LL))(a2); a1[26] = v7; if ( v7 <= 0.0 ) v8 = fmodf(v7, -360.0); else v8 = fmodf(v7, 360.0); a1[26] = v8; v9 = a1[28] - v8; if ( v9 > 180.0 ) v9 = v9 - 360.0; a1[30] = v9; if ( v9 < -180.0 ) a1[30] = v9 + 360.0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source