//
// cocos2d::CCSprite::create_1 from 0x1002377b0 to 0x100237810 (96 bytes)
//
// 14 xrefs:
// > PlayerObject::init @ 0x100218470
// > GJRobotSprite::init @ 0x10023f4f4
// > ShaderLayer::setupShader @ 0x10026de88
// > AnimatedGameObject::setupChildSprites @ 0x10038358c
// > AnimatedGameObject::setupChildSprites @ 0x1003836e0
// > AnimatedGameObject::setupChildSprites @ 0x10038373c
// > AnimatedGameObject::setupChildSprites @ 0x1003838a0
// > AnimatedGameObject::setupChildSprites @ 0x100383a20
// > EditorUI::setupDeleteMenu @ 0x1003c7d50
// > EditorUI::setupDeleteMenu @ 0x1003c7e80
// > EditorUI::setupDeleteMenu @ 0x1003c7ecc
// > EditorUI::setupDeleteMenu @ 0x1003c8150
// > EditorUI::spriteFromObjectString @ 0x1003ea884
// > LevelPage::init @ 0x100404060
//
// 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 *__fastcall cocos2d::CCSprite::create_1()
{
cocos2d::CCSprite *v0; // x19
v0 = (cocos2d::CCSprite *)operator new(0x258u);
cocos2d::CCSprite::CCSprite(v0);
if ( ((unsigned int (__fastcall *)(cocos2d::CCSprite *))v0->init)(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
((void (__fastcall *)(cocos2d::CCSprite *))v0->~CCSprite_0)(v0);
return nullptr;
}
return v0;
}