//
// cocos2d::CCProgressFromTo::reverse from 0x100437dd0 to 0x100437e67 (151 bytes)
//
// 1 xrefs:
// > ??> @ 0x100937d98
//
// 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::CCProgressFromTo::reverse(cocos2d::CCProgressFromTo *a1)
{
char *v1; // rbx
__m128 v3; // [rsp+0h] [rbp-30h]
float m_fDuration; // [rsp+1Ch] [rbp-14h]
m_fDuration = a1->m_fDuration;
v3 = (__m128)*(unsigned __int64 *)(&a1->m_bFirstTick + 4);
v1 = (char *)operator new(0x68u);
*(_OWORD *)v1 = 0;
*((_OWORD *)v1 + 1) = 0;
*((_OWORD *)v1 + 2) = 0;
*((_OWORD *)v1 + 3) = 0;
*((_OWORD *)v1 + 4) = 0;
*((_OWORD *)v1 + 5) = 0;
*((_QWORD *)v1 + 12) = 0;
cocos2d::CCAction::CCAction(v1);
*((_DWORD *)v1 + 20) = 0;
*(_QWORD *)v1 = off_100937D28;
if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v1, m_fDuration) )
_mm_storel_ps((double *)(v1 + 92), _mm_shuffle_ps(v3, v3, 225));
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return (cocos2d::CCActionInterval *)v1;
}