//
// cocos2d::CCSprite::create from 0xd872e8 to 0xd87354 (108 bytes)
//
// 21 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x747938
// > PlayerObject::init @ 0x767dc8
// > AnimatedGameObject::setupChildSprites @ 0x8875ec
// > AnimatedGameObject::setupChildSprites @ 0x887754
// > AnimatedGameObject::setupChildSprites @ 0x88795c
// > AnimatedGameObject::setupChildSprites @ 0x887a98
// > AnimatedGameObject::setupChildSprites @ 0x887af8
// > LevelPage::init @ 0x8c4538
// > GJRobotSprite::init @ 0xa3d050
// > ShaderLayer::setupShader @ 0xb2ddb0
// > NewsPopup::rebuildPage @ 0xb8b7bc
// > NewsPopup::rebuildPage @ 0xb8b960
// > EditorUI::spriteFromObjectString @ 0xbde110
// > EditorUI::setupDeleteMenu @ 0xbde954
// > EditorUI::setupDeleteMenu @ 0xbdea94
// > EditorUI::setupDeleteMenu @ 0xbdeae0
// > EditorUI::setupDeleteMenu @ 0xbded9c
// > SFXFolderPickerPopup::rebuildList @ 0xc3be8c
// > ControllerInputNode::init @ 0xc969d4
// > sub_CB5D38 @ 0xcb5d78
// > ??> @ 0x97198
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:08:13 +0000
//
cocos2d::CCSprite *__fastcall cocos2d::CCSprite::create(cocos2d::CCSprite *this)
{
cocos2d::CCSprite *v1; // x19
float v2; // s0
v1 = (cocos2d::CCSprite *)operator new(0x258u);
v2 = cocos2d::CCSprite::CCSprite(v1);
if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v1 + 80LL))(v1, v2) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}