//
// CurrencySprite::create from 0x4d16d0 to 0x4d1712 (66 bytes)
//
// 3 xrefs:
// > CurrencyRewardLayer::createObjectsFull @ 0x4d1b10
// > CurrencyRewardLayer::init @ 0x4d31d6
// > CurrencyRewardLayer::init @ 0x4d3416
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
CurrencySprite *CurrencySprite::create(CurrencySpriteType a1, bool a2)
{
CurrencySprite *v4; // r4
CurrencySprite_vtbl *v5; // r3
CurrencySprite *v6; // r0
v4 = (CurrencySprite *)operator new(0x230u);
CurrencySprite::CurrencySprite(v4);
if ( CurrencySprite::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = v4->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v6 = v4;
v4 = nullptr;
v5->~CurrencySprite_0(v6);
}
return v4;
}