//
// cocos2d::CCSprite::create from 0x18008e670 to 0x18008e6e6 (118 bytes)
//
// 14 xrefs:
// > cocos2d::CCMenuItemImage::create @ 0x18005c5a4
// > cocos2d::CCMenuItemImage::create @ 0x18005c5b4
// > cocos2d::CCMenuItemImage::create @ 0x18005c5c4
// > cocos2d::CCMenuItemImage::create @ 0x18005c6bd
// > cocos2d::CCMenuItemImage::create @ 0x18005c6cd
// > cocos2d::CCMenuItemImage::create @ 0x18005c6dd
// > cocos2d::CCMenuItemImage::create @ 0x18005c7c5
// > cocos2d::CCMenuItemImage::create @ 0x18005c7d5
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x18005cfa0
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x18005cfb0
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x18005cfc0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bfdd8
// > ??> @ 0x1801bfde4
//
// 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 11:22:07 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCSprite *__fastcall cocos2d::CCSprite::create(const char *a1)
{
cocos2d::CCSprite *v2; // rax
cocos2d::CCObject *v3; // rbx
v2 = (cocos2d::CCSprite *)sub_1800E4AC0(0x258u);
if ( v2 )
v3 = cocos2d::CCSprite::CCSprite(v2);
else
v3 = nullptr;
if ( v3 )
{
if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCObject *, const char *))(*(_QWORD *)v3 + 936LL))(v3, a1) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1);
}
return nullptr;
}