//
// cocos2d::CCAffineTransformRotate from 0x100240380 to 0x1002403ce (78 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f43dd
//
// 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
//
// local variable allocation has failed, the output may be wrong!
cocos2d::CCAffineTransform *__fastcall cocos2d::CCAffineTransformRotate(
cocos2d::CCAffineTransform *__return_ptr retstr,
const cocos2d::CCAffineTransform *a2,
float a3)
{
__m128 v3; // xmm0
*(__float2 *)v3.f32 = __sincosf_stret(a3);
*(__m128 *)&retstr->a = _mm_add_ps(
_mm_mul_ps(_mm_shuffle_ps(v3, v3, 85), *(__m128 *)&a2->a),
_mm_mul_ps(
_mm_shuffle_ps(
*(__m128 *)&a2->a,
_mm_xor_ps((__m128)xmmword_1008150B0, *(__m128 *)&a2->a),
78),
_mm_shuffle_ps(v3, v3, 0)));
*(_QWORD *)&retstr->tx = *(_QWORD *)&a2->tx;
return retstr;
}