//
// AchievementBar::create from 0x42ad3c to 0x42adb2 (118 bytes)
//
// 1 xrefs:
// > AchievementNotifier::notifyAchievement @ 0x2bedb2
//
// 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
//
AchievementBar *AchievementBar::create(const char *a1, const char *a2, const char *a3, bool a4)
{
AchievementBar *v8; // r4
AchievementBar_vtbl *v9; // r3
AchievementBar *v10; // r0
v8 = (AchievementBar *)operator new(0x13Cu);
cocos2d::CCNodeRGBA::CCNodeRGBA(v8);
v8->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AchievementBar_vtbl *)&off_A60EC8;
v8->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A610C0;
v8->m_unkUnused = 0;
v8->m_layerColor = nullptr;
v8->m_nextScene = nullptr;
if ( AchievementBar::init(v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v8);
}
else
{
v9 = v8->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v10 = v8;
v8 = nullptr;
v9->~AchievementBar_0(v10);
}
return v8;
}