//
// AchievementNotifier::sharedState from 0x395ce4 to 0x395d34 (80 bytes)
//
// 4 xrefs:
// > AchievementManager::notifyAchievement @ 0x3960d0
// > AchievementManager::notifyAchievementWithID @ 0x3b8598
// > AppDelegate::willSwitchToScene @ 0x3f6c08
// > AchievementBar::show @ 0x536fc4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:19 +0000
//
int __fastcall AchievementNotifier::sharedState(AchievementNotifier *this)
{
cocos2d::CCNode *v1; // r4
if ( !dword_D2A1D0 )
{
v1 = (cocos2d::CCNode *)operator new(0x114u);
cocos2d::CCNode::CCNode(v1);
*(_DWORD *)v1 = &off_C81FE0;
*((_DWORD *)v1 + 66) = 0;
*((_DWORD *)v1 + 67) = 0;
*((_DWORD *)v1 + 68) = 0;
dword_D2A1D0 = (int)v1;
AchievementNotifier::init(v1);
}
return dword_D2A1D0;
}