//
// cocos2d::CCRemoveSelf::create from 0x18002ffe0 to 0x180030040 (96 bytes)
//
// 3 xrefs:
// > cocos2d::CCRemoveSelf::reverse @ 0x1800305c4
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b00d8
//
// 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::CCRemoveSelf *__fastcall cocos2d::CCRemoveSelf::create(char a1)
{
cocos2d::CCAction *v2; // rax
cocos2d::CCAction *v3; // rbx
v2 = (cocos2d::CCAction *)operator new(0x60u);
v3 = v2;
if ( v2 )
{
cocos2d::CCAction::CCAction(v2);
LODWORD(v3[1].__vftable) = 0;
v3->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCRemoveSelf::`vftable';
}
else
{
v3 = nullptr;
}
if ( v3 )
{
LOBYTE(v3[1].m_uID) = a1;
cocos2d::CCObject::autorelease(v3);
}
return (struct cocos2d::CCRemoveSelf *)v3;
}