//
// cocos2d::CCReverseTime::initWithAction from 0x5b8efe to 0x5b8f22 (36 bytes)
//
// 2 xrefs:
// > cocos2d::CCReverseTime::create @ 0x5b8f58
// > cocos2d::CCReverseTime::copyWithZone @ 0x5b8fa8
//
// 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
//
bool cocos2d::CCReverseTime::initWithAction(cocos2d::CCReverseTime *a1, cocos2d::CCFiniteTimeAction *a2)
{
_BOOL4 v4; // r5
cocos2d::CCObject *v5; // r0
v4 = cocos2d::CCActionInterval::initWithDuration(a1, a2->m_fDuration);
if ( v4 )
{
v5 = (cocos2d::CCObject *)a1[1].__vftable;
if ( v5 )
cocos2d::CCObject::release(v5);
a1[1].__vftable = (cocos2d::CCReverseTime_vtbl *)a2;
cocos2d::CCObject::retain(a2);
}
return v4;
}