//
// sub_1800545E0 from 0x1800545e0 to 0x18005469b (187 bytes)
//
// 13 xrefs:
// > cocos2d::CCTransitionSlideInB::create @ 0x180055a94
// > cocos2d::CCTransitionSlideInL::create @ 0x180055b74
// > cocos2d::CCTransitionSlideInR::create @ 0x180055c54
// > cocos2d::CCTransitionSlideInT::create @ 0x180055d34
// > cocos2d::CCTransitionSlideInB::create @ 0x180055a83
// > cocos2d::CCTransitionSlideInL::create @ 0x180055b63
// > cocos2d::CCTransitionSlideInR::create @ 0x180055c43
// > cocos2d::CCTransitionSlideInT::create @ 0x180055d23
// > ??> @ 0x1800f6b80
// > ??> @ 0x1800f6f30
// > ??> @ 0x1800f72e0
// > ??> @ 0x1800f7690
// > ??> @ 0x1801bc784
//
// 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:46 +0000
//
cocos2d::CCScene *__fastcall sub_1800545E0(cocos2d::CCObject **this, char a2)
{
int v3; // esi
v3 = a2 & 1;
if ( (a2 & 2) != 0 )
{
sub_1800E49F8(this, 360, *(this - 1), cocos2d::CCTransitionSlideInT::~CCTransitionSlideInT);
if ( v3 )
j_j_j_free_0(this - 1);
return (cocos2d::CCScene *)(this - 1);
}
else
{
*(this + 44) = (cocos2d::CCObject *)&cocos2d::CCTransitionSlideInL::`vftable'{for `cocos2d::CCTransitionEaseScene'};
*this = (cocos2d::CCObject *)&cocos2d::CCTransitionScene::`vftable';
cocos2d::CCObject::release(*(this + 41));
cocos2d::CCObject::release(*(this + 42));
cocos2d::CCScene::~CCScene((cocos2d::CCScene *)this);
if ( v3 )
j_j_free_0(this);
return (cocos2d::CCScene *)this;
}
}