//
// cocos2d::CCReverseTime::create from 0x180033f60 to 0x180033ff6 (150 bytes)
//
// 5 xrefs:
// > cocos2d::CCGridAction::reverse @ 0x180024c80
// > cocos2d::CCTransitionPageTurn::actionWithSize @ 0x180056ae1
// > cocos2d::CCTransitionPageTurn::onEnter @ 0x180056c2a
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b05dc
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCReverseTime *__fastcall cocos2d::CCReverseTime::create(struct cocos2d::CCFiniteTimeAction *this)
{
cocos2d::CCAction *v2; // rax
cocos2d::CCAction *v3; // rbx
float m_fDuration; // xmm1_4
cocos2d::CCObject *v5; // rcx
v2 = (cocos2d::CCAction *)operator new(0x68u);
v3 = v2;
if ( v2 )
{
cocos2d::CCAction::CCAction(v2);
LODWORD(v2) = 0;
LODWORD(v3[1].__vftable) = 0;
v3->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCReverseTime::`vftable';
*(_QWORD *)&v3[1].cocos2d::CCObject::m_nTag = 0;
}
else
{
v3 = nullptr;
}
m_fDuration = this->m_fDuration;
*(float *)&v3[1].__vftable = m_fDuration;
if ( m_fDuration == 0.0 )
LODWORD(v3[1].__vftable) = 872415232;
v3[1].m_uID = (unsigned int)v2;
LOBYTE(v3[1].m_nLuaID) = 1;
v5 = *(cocos2d::CCObject **)&v3[1].cocos2d::CCObject::m_nTag;
if ( v5 )
cocos2d::CCObject::release(v5);
*(_QWORD *)&v3[1].cocos2d::CCObject::m_nTag = this;
cocos2d::CCObject::retain(this);
cocos2d::CCObject::autorelease(v3);
return (struct cocos2d::CCReverseTime *)v3;
}