//
// cocos2d::CCSprite::create from 0xb15e0c to 0xb15e78 (108 bytes)
//
// 15 xrefs:
// > PlayerObject::init @ 0x63e244
// > EditorUI::setupDeleteMenu @ 0x687b88
// > EditorUI::setupDeleteMenu @ 0x687cc4
// > EditorUI::setupDeleteMenu @ 0x687d10
// > EditorUI::setupDeleteMenu @ 0x687fbc
// > EditorUI::spriteFromObjectString @ 0x696c50
// > AnimatedGameObject::setupChildSprites @ 0x755f48
// > AnimatedGameObject::setupChildSprites @ 0x7560b0
// > AnimatedGameObject::setupChildSprites @ 0x7562b8
// > AnimatedGameObject::setupChildSprites @ 0x7563e8
// > AnimatedGameObject::setupChildSprites @ 0x756448
// > LevelPage::init @ 0x79d100
// > GJRobotSprite::init @ 0x8e378c
// > ShaderLayer::setupShader @ 0x9f7380
// > ??> @ 0x702d8
//
// 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; // x19
float v1; // s0
v0 = (cocos2d::CCSprite *)operator new(0x258u);
v1 = cocos2d::CCSprite::CCSprite(v0);
if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCSprite *, float))v0->init)(v0, v1) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
v0->~CCSprite_0(v0);
return nullptr;
}
}