//
// AchievementBar::create from 0x7d8e6c to 0x7d8f48 (220 bytes)
//
// 2 xrefs:
// > AchievementNotifier::notifyAchievement @ 0x4ede38
// > ??> @ 0xa90e0
//
// 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; // x19
v8 = (AchievementBar *)operator new(0x1A0u);
cocos2d::CCNodeRGBA::CCNodeRGBA(v8);
v8->m_layerColor = nullptr;
v8->m_nextScene = nullptr;
v8->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AchievementBar_vtbl *)&off_117F970;
v8->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_117FD60;
v8->m_unkUnused = 0;
if ( AchievementBar::init(v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v8);
return v8;
}
else
{
v8->~AchievementBar_0(v8);
return nullptr;
}
}