//
// cocos2d::CCAffineTransformConcat from 0x180006040 to 0x1800060fd (189 bytes)
//
// 8 xrefs:
// > cocos2d::CCNode::nodeToParentTransform @ 0x180003b5a
// > cocos2d::CCNode::nodeToParentTransform @ 0x180003bfa
// > cocos2d::CCNode::nodeToParentTransformFast @ 0x180003f0f
// > cocos2d::CCNode::nodeToParentTransformFast @ 0x180003faf
// > cocos2d::CCNode::nodeToWorldTransform @ 0x180004060
// > cocos2d::CCNode::nodeToWorldTransformFast @ 0x180004100
// > cocos2d::CCSprite::updateTransform @ 0x18008d608
// > ??> @ 0x1801438a8
//
// 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 *__fastcall cocos2d::CCAffineTransformConcat(
cocos2d *this,
struct cocos2d::CCAffineTransform *retstr,
const struct cocos2d::CCAffineTransform *a3,
const struct cocos2d::CCAffineTransform *a4)
{
float a; // xmm5_4
float d; // xmm2_4
float c; // xmm3_4
float ty; // xmm4_4
float v9; // xmm0_4
float v10; // xmm1_4
float v11; // xmm0_4
float v12; // xmm2_4
float v13; // xmm0_4
float v14; // xmm1_4
float v15; // xmm3_4
float tx; // xmm2_4
float v17; // xmm1_4
float v18; // xmm0_4
float v19; // xmm4_4
float v20; // xmm1_4
float v21; // xmm2_4
float v22; // xmm1_4
a = a3->a;
d = retstr->d;
c = retstr->c;
ty = retstr->ty;
v9 = a3->d * retstr->b;
*(float *)this = (float)(a3->a * retstr->a) + (float)(a3->c * retstr->b);
v10 = (float)(a3->b * retstr->a) + v9;
v11 = d;
v12 = d * a3->d;
v13 = v11 * a3->c;
*((float *)this + 1) = v10;
v14 = c;
v15 = (float)(c * a3->b) + v12;
tx = retstr->tx;
v17 = (float)(v14 * a) + v13;
v18 = ty * a3->c;
v19 = ty * a3->d;
*((float *)this + 2) = v17;
v20 = tx;
v21 = (float)(tx * a3->b) + v19;
*((float *)this + 3) = v15;
v22 = (float)((float)(v20 * a) + v18) + a3->tx;
*((float *)this + 5) = v21 + a3->ty;
*((float *)this + 4) = v22;
return this;
}