//
// cocos2d::__CCSizeApplyAffineTransform from 0xacdf70 to 0xace000 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x89790
//
// 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 cocos2d::__CCSizeApplyAffineTransform(const cocos2d::CCSize *a1, const cocos2d::CCAffineTransform *a2)
{
cocos2d::CCSize *v2; // x8
double height; // d3
double v5; // d2
double b; // d1
double v7; // d3
cocos2d::CCSize *v10; // [xsp+28h] [xbp+28h]
cocos2d::CCSize result; // 0:s0.4,4:s1.4
v10 = v2;
cocos2d::CCSize::CCSize(v2);
height = a1->height;
v5 = a2->c * height + a2->a * a1->width;
b = a2->b;
v7 = height * a2->d;
*(float *)&v5 = v5;
v10->width = *(float *)&v5;
result.width = v7 + b * a1->width;
v10->height = result.width;
result.height = *(float *)&b;
return result;
}