//
// cocos2d::CCScaleTo::startWithTarget from 0x7bc9d2 to 0x7bca12 (64 bytes)
//
// 1 xrefs:
// > cocos2d::CCScaleBy::startWithTarget @ 0x7bca16
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:17 +0000
//
float __fastcall cocos2d::CCScaleTo::startWithTarget(int a1, int a2)
{
float result; // r0
float v5; // s15
cocos2d::CCActionInterval::startWithTarget(a1, a2);
*(_DWORD *)(a1 + 88) = (*(int (__fastcall **)(int))(*(_DWORD *)a2 + 68))(a2);
result = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)a2 + 76))(a2));
*(float *)(a1 + 104) = *(float *)(a1 + 96) - *(float *)(a1 + 88);
v5 = *(float *)(a1 + 100);
*(float *)(a1 + 92) = result;
*(float *)(a1 + 108) = v5 - result;
return result;
}