//
// cocos2d::CCScaleBy::reverse from 0x1003ba7e0 to 0x1003ba88e (174 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092a550
//
// 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
//
cocos2d::CCActionInterval *__fastcall cocos2d::CCScaleBy::reverse(cocos2d::CCScaleBy *a1)
{
char *v1; // rbx
__m128 v2; // xmm1
__m128 m_fDuration_low; // [rsp+0h] [rbp-30h]
__m128 v5; // [rsp+10h] [rbp-20h]
m_fDuration_low = (__m128)LODWORD(a1->m_fDuration);
v5 = (__m128)*(unsigned __int64 *)&a1->m_fEndScaleX;
v1 = (char *)operator new(0x80u);
*(_OWORD *)v1 = 0;
*((_OWORD *)v1 + 1) = 0;
*((_OWORD *)v1 + 2) = 0;
*((_OWORD *)v1 + 3) = 0;
*((_OWORD *)v1 + 4) = 0;
*((_OWORD *)v1 + 5) = 0;
*((_OWORD *)v1 + 6) = 0;
*((_OWORD *)v1 + 7) = 0;
cocos2d::CCAction::CCAction(v1);
*(_QWORD *)v1 = off_10092A4E0;
v2 = _mm_cmpeq_ss((__m128)0LL, m_fDuration_low);
*((_QWORD *)v1 + 10) = _mm_andnot_ps(v2, m_fDuration_low).u32[0] | v2.i32[0] & 0x34000000;
v1[88] = 1;
_mm_storel_ps((double *)(v1 + 108), _mm_div_ps((__m128)xmmword_1008154E0, v5));
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return (cocos2d::CCActionInterval *)v1;
}