//
// cocos2d::CCFlipX::create from 0x5b5994 to 0x5b59d6 (66 bytes)
//
// 1 xrefs:
// > cocos2d::CCFlipX::reverse @ 0x5b59e4
//
// 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)
{
int v2; // r4
v2 = operator new(0x4Cu);
cocos2d::CCActionInstant::CCActionInstant((cocos2d::CCActionInstant *)v2);
*(_DWORD *)v2 = &off_A9FF58;
*(_BYTE *)(v2 + 72) = 0;
if ( cocos2d::CCFlipX::initWithFlipX((cocos2d::CCFlipX *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (cocos2d::CCFlipX *)v2;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v2 + 8))(v2);
return nullptr;
}
}