//
// cocos2d::CCSprite::create_2 from 0x100273bc0 to 0x100273c78 (184 bytes)
//
// 20 xrefs:
// > AnimatedGameObject::setupChildSprites @ 0x100196e66
// > AnimatedGameObject::setupChildSprites @ 0x100196fc3
// > AnimatedGameObject::setupChildSprites @ 0x100197026
// > AnimatedGameObject::setupChildSprites @ 0x100197172
// > AnimatedGameObject::setupChildSprites @ 0x10019749d
// > LevelCell::loadCustomLevelCell @ 0x100237a41
// > ShaderLayer::setupShader @ 0x1003b3edd
// > PlayerObject::init @ 0x1003e8ac4
// > LevelPage::init @ 0x100422fa7
// > EditorUI::spriteFromObjectString @ 0x1006388a1
// > EditorUI::setupDeleteMenu @ 0x10063b4c5
// > EditorUI::setupDeleteMenu @ 0x10063b5e9
// > EditorUI::setupDeleteMenu @ 0x10063b636
// > EditorUI::setupDeleteMenu @ 0x10063b8ea
// > GJRobotSprite::init @ 0x1006ad850
// > sub_1008B5630 @ 0x1008b5960
// > sub_1008DB580 @ 0x1008db597
// > NewsPopup::rebuildPage @ 0x1009597c9
// > NewsPopup::rebuildPage @ 0x1009598fa
// > SFXFolderPickerPopup::rebuildList @ 0x1009731b5
//
// This function is hookable on this platform (idp: pc, 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 12:27:38 +0000
//
char *cocos2d::CCSprite::create_2()
{
char *v0; // rbx
v0 = (char *)operator new(0x258u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v0);
*(_QWORD *)v0 = off_100AF9ED0;
*((_QWORD *)v0 + 40) = off_100AFA3B8;
*((_QWORD *)v0 + 43) = off_100AFA438;
v0[379] = 0;
*((_QWORD *)v0 + 52) = 0;
sub_1002787A0(v0 + 424);
sub_1002782A0(v0 + 444);
sub_1002782A0(v0 + 452);
*(_WORD *)(v0 + 559) = 0;
*(_OWORD *)(v0 + 564) = 0;
if ( (*(unsigned __int8 (__fastcall **)(char *))(*(_QWORD *)v0 + 80LL))(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}