//
// cocos2d::CCFlipX::create from 0xabdfec to 0xabe06c (128 bytes)
//
// 2 xrefs:
// > cocos2d::CCFlipX::reverse @ 0xabe074
// > ??> @ 0x54180
//
// 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
//
cocos2d::CCFlipX *cocos2d::CCFlipX::create(bool a1)
{
__int64 v2; // x19
v2 = operator new(0x58u);
cocos2d::CCActionInstant::CCActionInstant((cocos2d::CCActionInstant *)v2);
*(_BYTE *)(v2 + 84) = 0;
*(_QWORD *)v2 = &off_11FD820;
if ( cocos2d::CCFlipX::initWithFlipX((cocos2d::CCFlipX *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (cocos2d::CCFlipX *)v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}