//
// cocos2d::CCSprite::create from 0x7f15fa to 0x7f162c (50 bytes)
//
// 20 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x42ee22
// > PlayerObject::init @ 0x447c86
// > AnimatedGameObject::setupChildSprites @ 0x4ebb04
// > AnimatedGameObject::setupChildSprites @ 0x4ebc74
// > AnimatedGameObject::setupChildSprites @ 0x4ebcbc
// > AnimatedGameObject::setupChildSprites @ 0x4ebdaa
// > AnimatedGameObject::setupChildSprites @ 0x4ebee0
// > LevelPage::init @ 0x511e14
// > GJRobotSprite::init @ 0x5e6bb6
// > ShaderLayer::setupShader @ 0x685010
// > NewsPopup::rebuildPage @ 0x6c21d6
// > NewsPopup::rebuildPage @ 0x6c231c
// > EditorUI::spriteFromObjectString @ 0x6f4f3c
// > EditorUI::setupDeleteMenu @ 0x6f58f8
// > EditorUI::setupDeleteMenu @ 0x6f59d6
// > EditorUI::setupDeleteMenu @ 0x6f5a22
// > EditorUI::setupDeleteMenu @ 0x6f5c64
// > SFXFolderPickerPopup::rebuildList @ 0x72fdb4
// > ControllerInputNode::init @ 0x765660
// > sub_776E74 @ 0x776e98
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:04 +0000
//
cocos2d::CCSprite *__fastcall cocos2d::CCSprite::create(cocos2d::CCSprite *this)
{
cocos2d::CCSprite *v1; // r4
v1 = (cocos2d::CCSprite *)operator new(0x1FCu);
cocos2d::CCSprite::CCSprite(v1);
if ( (*(int (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)v1 + 40))(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)v1 + 8))(v1);
return nullptr;
}
}