//
// cocos2d::CCScaleTo::startWithTarget from 0x10018c5a8 to 0x10018c614 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007a5ba0
//
// 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
//
void __fastcall cocos2d::CCScaleTo::startWithTarget(cocos2d::CCScaleTo *a1, cocos2d::CCNode *a2)
{
float v4; // s0
float32x2_t v5; // d1
cocos2d::CCAction::startWithTarget(a1, a2);
a1->m_elapsed = 0.0;
a1->m_bFirstTick = 1;
a1->m_fStartScaleX = ((float (__fastcall *)(cocos2d::CCNode *))a2->getScaleX)(a2);
v4 = ((float (__fastcall *)(cocos2d::CCNode *))a2->getScaleY)(a2);
a1->m_fStartScaleY = v4;
v5.i32[0] = LODWORD(a1->m_fStartScaleX);
v5.f32[1] = v4;
*(float32x2_t *)&a1->m_fDeltaX = vsub_f32(*(float32x2_t *)&a1->m_fEndScaleX, v5);
}