//
// cocos2d::__CCSizeApplyAffineTransform from 0x100240010 to 0x10024006d (93 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCSize __fastcall cocos2d::__CCSizeApplyAffineTransform(
const cocos2d::CCSize *a1,
const cocos2d::CCAffineTransform *a2)
{
float *v2; // rdx
float *v3; // rbx
__m128d a_low; // xmm0
__m128d b_low; // xmm1
cocos2d::CCSize result; // 0:xmm0_8.8
v3 = v2;
sub_10028CF90(a1);
a_low = (__m128d)LODWORD(a2->a);
b_low = (__m128d)LODWORD(a2->b);
a_low.f64[0] = *(float *)a_low.f64;
b_low.f64[0] = *(float *)b_low.f64;
*(double *)&result = _mm_movedup_pd(a_low).f64[0] * *v3 + _mm_movedup_pd(b_low).f64[0] * v3[2];
*a1 = result;
return result;
}