//
// cocos2d::CCFlipY::create from 0x1800305d0 to 0x180030641 (113 bytes)
//
// 3 xrefs:
// > cocos2d::CCFlipY::reverse @ 0x180030c97
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba1c8
//
// 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:33 +0000
//
struct cocos2d::CCFlipY *__fastcall cocos2d::CCFlipY::create(char a1)
{
cocos2d::CCAction *v2; // rax
cocos2d::CCAction *v3; // rbx
v2 = (cocos2d::CCAction *)sub_1800E4AC0(0x60u);
v3 = v2;
if ( v2 )
{
cocos2d::CCAction::CCAction(v2);
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = &cocos2d::CCFlipY::`vftable';
*((_BYTE *)v3 + 88) = 0;
}
else
{
v3 = nullptr;
}
if ( !v3 )
return nullptr;
*((_BYTE *)v3 + 88) = a1;
cocos2d::CCObject::autorelease(v3);
return v3;
}