//
// AchievementBar::create from 0x100618bd0 to 0x100618c77 (167 bytes)
//
// 1 xrefs:
// > AchievementNotifier::notifyAchievement @ 0x1007c2c35
//
// 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 *__fastcall AchievementBar::create(const char *a1, const char *a2, const char *a3, bool a4)
{
AchievementBar *v6; // rbx
v6 = (AchievementBar *)operator new(0x1A0u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v6);
v6->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AchievementBar_vtbl *)off_100981A40;
v6->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100981E30;
v6->m_layerColor = nullptr;
v6->m_unkUnused = 0;
v6->m_nextScene = nullptr;
if ( AchievementBar::init(v6, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
((void (__fastcall *)(AchievementBar *))v6->~AchievementBar_0)(v6);
return nullptr;
}
return v6;
}