// // AchievementNotifier::sharedState from 0x1002165a8 to 0x100216604 (92 bytes) // // 5 xrefs: // > AchievementManager::notifyAchievementWithID @ 0x1000e8944 // > AchievementManager::notifyAchievement @ 0x1000e89c0 // > AppDelegate::willSwitchToScene @ 0x1002697fc // > sub_100269810 @ 0x100269820 // > AchievementBar::show @ 0x10026b918 // // 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 *__fastcall AchievementNotifier::sharedState() { AchievementNotifier *result; // x0 _QWORD *v1; // x19 __int64 v2; // x0 cocos2d::CCObject *v3; // x0 result = (AchievementNotifier *)qword_10086CBA0; if ( !qword_10086CBA0 ) { v1 = operator new(0x158u); v2 = cocos2d::CCNode::CCNode(v1); *v1 = off_1007C33B8; v1[41] = 0; v1[42] = 0; v1[40] = 0; qword_10086CBA0 = (__int64)v1; v3 = (cocos2d::CCObject *)sub_10024A15C(v2); v1[41] = v3; cocos2d::CCObject::retain(v3); return (AchievementNotifier *)qword_10086CBA0; } return result; }