//
// cocos2d::CCSprite::create from 0xd871d4 to 0xd87250 (124 bytes)
//
// 2 xrefs:
// > GJBigSprite::updateSpriteVisibility @ 0xac36d0
// > ??> @ 0x104b48
//
// 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,
const char *a2,
const cocos2d::CCRect *a3)
{
cocos2d::CCSprite *v4; // x19
float v5; // s0
v4 = (cocos2d::CCSprite *)operator new(0x258u);
v5 = cocos2d::CCSprite::CCSprite(v4);
if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCSprite *, cocos2d::CCSprite *, const char *, float))(*(_QWORD *)v4 + 1056LL))(
v4,
this,
a2,
v5) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
(*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
}