//
// cocos2d::__CCPointApplyAffineTransform from 0x100413240 to 0x10041329c (92 bytes)
//
// 8 xrefs:
// > GJBaseGameLayer::processRotationActions @ 0x1001f8304
// > cocos2d::CCNode::convertToNodeSpace @ 0x10023cf80
// > cocos2d::CCNode::convertToWorldSpace @ 0x10023cfc8
// > cocos2d::CCNode::convertTouchToNodeSpace @ 0x10023d020
// > cocos2d::CCRectApplyAffineTransform @ 0x100413320
// > cocos2d::CCRectApplyAffineTransform @ 0x100413340
// > cocos2d::CCRectApplyAffineTransform @ 0x100413360
// > cocos2d::CCRectApplyAffineTransform @ 0x100413380
//
// 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 __fastcall cocos2d::__CCPointApplyAffineTransform(
const cocos2d::CCPoint *a1,
const cocos2d::CCAffineTransform *a2)
{
_QWORD *v2; // x8
float32x2_t *v5; // x0
float64x2_t v6; // q1
float32x2_t v7; // d0
cocos2d::CCPoint result; // 0:s0.4,4:s1.4
v5 = (float32x2_t *)sub_1000229B0(v2);
v6 = vmlaq_n_f64(
vmulq_n_f64(vcvtq_f64_f32(*(float32x2_t *)&a2->c), a1->y),
vcvtq_f64_f32(*(float32x2_t *)&a2->a),
a1->x);
v7 = vcvt_f32_f64(vaddq_f64(v6, vcvtq_f64_f32(*(float32x2_t *)&a2->tx)));
*v5 = v7;
result.x = v7.f32[0];
result.y = *(float *)v6.f64;
return result;
}