//
// cocos2d::CCScaleTo::startWithTarget from 0x5b61a0 to 0x5b61e0 (64 bytes)
//
// 1 xrefs:
// > cocos2d::CCScaleBy::startWithTarget @ 0x5b61e4
//
// 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 cocos2d::CCScaleTo::startWithTarget(cocos2d::CCScaleTo *a1, cocos2d::CCNode *a2)
{
float v4; // r0
float (__fastcall *getScaleY)(cocos2d::CCNode *__hidden); // r3
float v6; // r0
float m_fEndScaleY; // s15
cocos2d::CCActionInterval::startWithTarget(a1, a2);
v4 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCNode *))a2->getScaleX)(a2));
getScaleY = a2->getScaleY;
a1->m_fStartScaleX = v4;
v6 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCNode *))getScaleY)(a2));
a1->m_fDeltaX = a1->m_fEndScaleX - a1->m_fStartScaleX;
m_fEndScaleY = a1->m_fEndScaleY;
a1->m_fStartScaleY = v6;
a1->m_fDeltaY = m_fEndScaleY - v6;
}