//
// cocos2d::CCAffineTransformTranslate from 0x180006340 to 0x180006396 (86 bytes)
//
// 3 xrefs:
// > cocos2d::CCNode::nodeToParentTransform @ 0x180003b9d
// > cocos2d::CCNode::nodeToParentTransformFast @ 0x180003f52
// > ??> @ 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::CCAffineTransformTranslate(
cocos2d *this,
struct cocos2d::CCAffineTransform *retstr,
const struct cocos2d::CCAffineTransform *a3,
float a4)
{
float v4; // xmm2_4
float a; // xmm1_4
float b; // xmm5_4
float c; // xmm0_4
float d; // xmm4_4
float v10; // xmm1_4
float v11; // xmm5_4
a = retstr->a;
b = retstr->b;
c = retstr->c;
d = retstr->d;
*(float *)this = retstr->a;
*((float *)this + 1) = b;
v10 = (float)(a * v4) + retstr->tx;
*((float *)this + 2) = c;
v11 = (float)(b * v4) + retstr->ty;
*((float *)this + 3) = d;
*((float *)this + 4) = v10 + (float)(c * a4);
*((float *)this + 5) = v11 + (float)(d * a4);
return this;
}