//
// GJDifficultySprite::create from 0x4b3c1c to 0x4b3c80 (100 bytes)
//
// 5 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x332790
// > LevelInfoLayer::setupLevelInfo @ 0x3b389c
// > GJRateLevelLayer::init @ 0x45495e
// > RateStarsLayer::init @ 0x455d86
// > StarInfoPopup::init @ 0x4c8bac
//
// 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
//
GJDifficultySprite *GJDifficultySprite::create(int a1, GJDifficultyName a2)
{
GJDifficultySprite *v4; // r4
GJDifficultySprite_vtbl *v5; // r3
int *v6; // r0
v4 = (GJDifficultySprite *)operator new(0x200u);
cocos2d::CCSprite::CCSprite(v4);
v4->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJDifficultySprite_vtbl *)&off_A6B030;
v4->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A6B29C;
v4->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A6B2DC;
v4->m_featureState = 0;
if ( GJDifficultySprite::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = v4->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v6 = (int *)v4;
v4 = nullptr;
v5->~GJDifficultySprite_0((GJDifficultySprite *)v6);
}
return v4;
}