//
// cocos2d::CCSprite::create from 0x5e6d5a to 0x5e6d8c (50 bytes)
//
// 14 xrefs:
// > PlayerObject::init @ 0x3516d8
// > EditorUI::setupDeleteMenu @ 0x37ca52
// > EditorUI::setupDeleteMenu @ 0x37cb22
// > EditorUI::setupDeleteMenu @ 0x37cb5a
// > EditorUI::setupDeleteMenu @ 0x37cd94
// > EditorUI::spriteFromObjectString @ 0x387a70
// > AnimatedGameObject::setupChildSprites @ 0x3e79e4
// > AnimatedGameObject::setupChildSprites @ 0x3e7b44
// > AnimatedGameObject::setupChildSprites @ 0x3e7b8c
// > AnimatedGameObject::setupChildSprites @ 0x3e7c7a
// > AnimatedGameObject::setupChildSprites @ 0x3e7db0
// > LevelPage::init @ 0x4096c8
// > GJRobotSprite::init @ 0x4b854c
// > ShaderLayer::setupShader @ 0x54ece2
//
// 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::CCSprite *cocos2d::CCSprite::create()
{
cocos2d::CCSprite *v0; // r4
v0 = (cocos2d::CCSprite *)operator new(0x1FCu);
cocos2d::CCSprite::CCSprite(v0);
if ( ((int (__fastcall *)(cocos2d::CCSprite *))v0->init)(v0) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
v0->~CCSprite_0(v0);
return nullptr;
}
}