//
// AchievementBar::create from 0x1006f5630 to 0x1006f56d7 (167 bytes)
//
// 1 xrefs:
// > AchievementNotifier::notifyAchievement @ 0x1008aa4c5
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:35:53 +0000
//
_QWORD *__fastcall AchievementBar::create(__int64 a1, __int64 a2, __int64 a3, unsigned __int8 a4)
{
_QWORD *v6; // rbx
v6 = operator new(0x1A0u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v6);
*v6 = off_100B955A0;
v6[40] = off_100B959A0;
v6[43] = 0;
*((_DWORD *)v6 + 88) = 0;
v6[45] = 0;
if ( (unsigned __int8)AchievementBar::init(v6, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v6 + 16LL))(v6);
return nullptr;
}
return v6;
}