//
// cocos2d::CCReverseTime::initWithAction from 0x180035250 to 0x1800352ad (93 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0744
//
// 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
//
char __fastcall cocos2d::CCReverseTime::initWithAction(
cocos2d::CCReverseTime *this,
struct cocos2d::CCFiniteTimeAction *a2)
{
float m_fDuration; // xmm1_4
cocos2d::CCObject *v5; // rcx
m_fDuration = a2->m_fDuration;
this->m_fDuration = m_fDuration;
if ( m_fDuration == 0.0 )
this->m_fDuration = 0.00000011920929;
this->m_elapsed = 0.0;
this->m_bFirstTick = 1;
v5 = *((cocos2d::CCObject **)this + 12);
if ( v5 )
cocos2d::CCObject::release(v5);
*((_QWORD *)this + 12) = a2;
cocos2d::CCObject::retain(a2);
return 1;
}