//
// AchievementNotifier::sharedState from 0x1002b3068 to 0x1002b30c4 (92 bytes)
//
// 4 xrefs:
// > AchievementManager::notifyAchievementWithID @ 0x10010e824
// > AchievementManager::notifyAchievement @ 0x10010e8a0
// > AppDelegate::willSwitchToScene @ 0x1003074cc
// > AchievementBar::show @ 0x100309720
//
// This function is hookable on this platform (idp: arm, 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 11:02:21 +0000
//
__int64 AchievementNotifier::sharedState()
{
__int64 result; // x0
_QWORD *v1; // x19
__int64 v2; // x0
__int64 v3; // x0
result = qword_1009F5A50;
if ( !qword_1009F5A50 )
{
v1 = operator new(0x158u);
v2 = cocos2d::CCNode::CCNode();
*v1 = off_10091B8A8;
v1[41] = 0;
v1[42] = 0;
v1[40] = 0;
qword_1009F5A50 = (__int64)v1;
v3 = sub_1002E736C(v2);
v1[41] = v3;
cocos2d::CCObject::retain(v3);
return qword_1009F5A50;
}
return result;
}