//
// cocos2d::CCAffineTransformTranslate from 0x100240320 to 0x100240351 (49 bytes)
//
// 4 xrefs:
// > cocos2d::CCNode::nodeToParentTransform @ 0x10027459d
// > cocos2d::CCNode::nodeToParentTransformFast @ 0x1002749a1
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f43b9
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f4963
//
// 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::CCAffineTransformTranslate(
cocos2d::CCAffineTransform *__return_ptr retstr,
const cocos2d::CCAffineTransform *a2,
float a3,
float a4)
{
__m128 v5; // xmm2
__m128 v6; // xmm3
v5 = *(__m128 *)&a2->a;
v6 = (__m128)*(unsigned __int64 *)&a2->c;
*(_OWORD *)&retstr->a = *(_OWORD *)&a2->a;
_mm_storel_ps(
(double *)&retstr->tx,
_mm_add_ps(
_mm_mul_ps(_mm_moveldup_ps(*(__m128 *)&a4), v6),
_mm_add_ps(_mm_mul_ps(_mm_moveldup_ps(*(__m128 *)&a3), v5), (__m128)*(unsigned __int64 *)&a2->tx)));
return retstr;
}