//
// cocos2d::CCScaleTo::startWithTarget from 0xd30ca0 to 0xd30d08 (104 bytes)
//
// 3 xrefs:
// > cocos2d::CCScaleBy::startWithTarget @ 0xd30d18
// > ??> @ 0x46438
// > ??> @ 0x15141c8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:20 +0000
//
float __fastcall cocos2d::CCScaleTo::startWithTarget(float *a1, __int64 a2)
{
float result; // s0
float v5; // s2
float v6; // s1
cocos2d::CCActionInterval::startWithTarget((__int64)a1, a2);
a1[25] = (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 136LL))(a2);
result = (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 152LL))(a2);
v5 = a1[27] - a1[25];
v6 = a1[28] - result;
a1[26] = result;
a1[29] = v5;
a1[30] = v6;
return result;
}