//
// AchievementNotifier::sharedState from 0x4edbc4 to 0x4edc44 (128 bytes)
//
// 5 xrefs:
// > AchievementManager::notifyAchievementWithID @ 0x5534dc
// > AchievementManager::notifyAchievement @ 0x553688
// > AppDelegate::willSwitchToScene @ 0x5bdda0
// > AchievementBar::show @ 0x7d9050
// > ??> @ 0xaaa18
//
// 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
//
AchievementNotifier *AchievementNotifier::sharedState()
{
AchievementNotifier *result; // x0
AchievementNotifier *v1; // x20
result = (AchievementNotifier *)qword_12412A0;
if ( !qword_12412A0 )
{
v1 = (AchievementNotifier *)operator new(0x158u);
cocos2d::CCNode::CCNode(v1);
qword_12412A0 = (__int64)v1;
v1->m_nextScene = nullptr;
v1->m_achievementBarArray = nullptr;
v1->__vftable = (AchievementNotifier_vtbl *)&off_11335D0;
v1->m_activeAchievementBar = nullptr;
AchievementNotifier::init(v1);
return (AchievementNotifier *)qword_12412A0;
}
return result;
}