//
// cocos2d::CCScaleTo::initWithDuration from 0x1003ba2c0 to 0x1003ba2fb (59 bytes)
//
// 0 xrefs:
//
// 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
//
// local variable allocation has failed, the output may be wrong!
bool __fastcall cocos2d::CCScaleTo::initWithDuration(cocos2d::CCScaleTo *a1, float a2, float a3, float a4)
{
__m128 v4; // xmm3
v4 = _mm_cmpeq_ss((__m128)0LL, *(__m128 *)&a2);
*(_QWORD *)&a1->m_fDuration = _mm_andnot_ps(v4, *(__m128 *)&a2).u32[0] | v4.i32[0] & 0x34000000;
a1->m_bFirstTick = 1;
a1->m_fEndScaleX = a3;
a1->m_fEndScaleY = a4;
return 1;
}