//
// cocos2d::CCScaleTo::startWithTarget from 0x10021f534 to 0x10021f5a0 (108 bytes)
//
// 2 xrefs:
// > sub_10021F838 @ 0x10021f848
// > ??> @ 0x1008fc1e8
//
// 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 11:01:07 +0000
//
float32x2_t __fastcall cocos2d::CCScaleTo::startWithTarget(__int64 a1, __int64 a2)
{
float v4; // s0
float32x2_t v5; // d1
float32x2_t result; // d0
cocos2d::CCAction::startWithTarget();
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
*(float *)(a1 + 100) = (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 136LL))(a2);
v4 = (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 152LL))(a2);
*(float *)(a1 + 104) = v4;
v5.i32[0] = *(_DWORD *)(a1 + 100);
v5.f32[1] = v4;
result = vsub_f32(*(float32x2_t *)(a1 + 108), v5);
*(float32x2_t *)(a1 + 116) = result;
return result;
}