//
// cocos2d::CCScaleTo::startWithTarget from 0x1003ba410 to 0x1003ba472 (98 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092a498
//
// 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)
{
__m128 v2; // xmm0
cocos2d::CCAction::startWithTarget(a1, a2);
a1->m_elapsed = 0.0;
a1->m_bFirstTick = 1;
a1->m_fStartScaleX = ((float (__fastcall *)(cocos2d::CCNode *))a2->getScaleX)(a2);
*(double *)v2.i64 = ((double (__fastcall *)(cocos2d::CCNode *))a2->getScaleY)(a2);
LODWORD(a1->m_fStartScaleY) = v2.i32[0];
_mm_storel_ps(
(double *)&a1->m_fDeltaX,
_mm_sub_ps(
(__m128)*(unsigned __int64 *)&a1->m_fEndScaleX,
_mm_insert_ps((__m128)LODWORD(a1->m_fStartScaleX), v2, 16)));
}