//
// cocos2d::CCReverseTime::create from 0x1800345e0 to 0x180034676 (150 bytes)
//
// 5 xrefs:
// > cocos2d::CCGridAction::reverse @ 0x180025200
// > cocos2d::CCTransitionPageTurn::actionWithSize @ 0x1800589c1
// > cocos2d::CCTransitionPageTurn::onEnter @ 0x180058b0c
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba6fc
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:34 +0000
//
// 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 v4; // xmm1_4
cocos2d::CCObject *v5; // rcx
v2 = (cocos2d::CCAction *)sub_1800E4AC0(0x68u);
v3 = v2;
if ( v2 )
{
cocos2d::CCAction::CCAction(v2);
LODWORD(v2) = 0;
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = &cocos2d::CCReverseTime::`vftable';
*((_QWORD *)v3 + 12) = 0;
}
else
{
v3 = nullptr;
}
v4 = *((float *)this + 20);
*((float *)v3 + 20) = v4;
if ( v4 == 0.0 )
*((_DWORD *)v3 + 20) = 872415232;
*((_DWORD *)v3 + 22) = (_DWORD)v2;
*((_BYTE *)v3 + 92) = 1;
v5 = *((cocos2d::CCObject **)v3 + 12);
if ( v5 )
cocos2d::CCObject::release(v5);
*((_QWORD *)v3 + 12) = this;
cocos2d::CCObject::retain(this);
cocos2d::CCObject::autorelease(v3);
return v3;
}