//
// cocos2d::__CCPointApplyAffineTransform from 0xacdec8 to 0xacdf70 (168 bytes)
//
// 8 xrefs:
// > GJBaseGameLayer::processRotationActions @ 0x86e828
// > cocos2d::CCNode::convertToNodeSpace @ 0xacd514
// > cocos2d::CCNode::convertToWorldSpace @ 0xacd58c
// > cocos2d::CCRectApplyAffineTransform @ 0xace0b8
// > cocos2d::CCRectApplyAffineTransform @ 0xace0d8
// > cocos2d::CCRectApplyAffineTransform @ 0xace0f8
// > cocos2d::CCRectApplyAffineTransform @ 0xace118
// > ??> @ 0x652c8
//
// 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::CCPoint cocos2d::__CCPointApplyAffineTransform(
const cocos2d::CCPoint *a1,
const cocos2d::CCAffineTransform *a2)
{
cocos2d::CCPoint *v2; // x8
double y; // d0
double d; // d5
double b; // d1
double ty; // d3
float v8; // s2
float *v11; // [xsp+28h] [xbp+28h]
cocos2d::CCPoint result; // 0:s0.4,4:s1.4
v11 = (float *)v2;
cocos2d::CCPoint::CCPoint(v2);
y = a1->y;
d = a2->d;
b = a2->b;
ty = a2->ty;
v8 = a2->c * y + a2->a * a1->x + a2->tx;
*v11 = v8;
result.x = y * d + b * a1->x + ty;
v11[1] = result.x;
result.y = *(float *)&b;
return result;
}