//
// cocos2d::CCSkewBy::startWithTarget from 0x1003a21d0 to 0x1003a22d8 (264 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b32928
//
// 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 12:29:20 +0000
//
void __fastcall cocos2d::CCSkewBy::startWithTarget(__int64 a1, __int64 a2)
{
__m128 v2; // xmm0
__m128 v3; // xmm1
__m128 v4; // xmm1
__m128 v5; // xmm0
__m128 v6; // xmm2
__m128 v7; // xmm2
__m128 v8; // xmm0
__m128 v9; // xmm1
__m128 v10; // xmm0
__m128 v11; // xmm1
cocos2d::CCAction::startWithTarget(a1);
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
v2.f32[0] = (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 272LL))(a2);
v3 = _mm_cmplt_ss((__m128)0LL, v2);
v2.f32[0] = fmodf(v2.f32[0], COERCE_FLOAT(_mm_andnot_ps(v3, (__m128)0xC3340000).u32[0] | v3.i32[0] & 0x43340000));
*(_DWORD *)(a1 + 100) = v2.i32[0];
v4 = (__m128)*(unsigned int *)(a1 + 108);
v4.f32[0] = v4.f32[0] - v2.f32[0];
v5 = v4;
v5.f32[0] = v4.f32[0] + -360.0;
v6 = _mm_cmplt_ss((__m128)0x43340000u, v4);
v7 = _mm_or_ps(_mm_andnot_ps(v6, v4), _mm_and_ps(v5, v6));
v8 = v7;
v8.f32[0] = v7.f32[0] + 360.0;
v9 = _mm_cmplt_ss(v7, (__m128)0xC3340000);
v10 = _mm_and_ps(v8, v9);
*(_DWORD *)(a1 + 116) = _mm_andnot_ps(v9, v7).u32[0] | v10.i32[0];
v10.f32[0] = (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 288LL))(a2);
v11 = _mm_cmplt_ss((__m128)0LL, v10);
v10.f32[0] = fmodf(v10.f32[0], COERCE_FLOAT(_mm_andnot_ps(v11, (__m128)0xC3B40000).u32[0] | v11.i32[0] & 0x43B40000));
*(_DWORD *)(a1 + 104) = v10.i32[0];
*(__m128 *)(a1 + 108) = _mm_movelh_ps(
_mm_add_ps(
_mm_insert_ps((__m128)*(unsigned int *)(a1 + 100), v10, 16),
(__m128)*(unsigned __int64 *)(a1 + 92)),
(__m128)*(unsigned __int64 *)(a1 + 92));
}