// // AchievementNotifier::sharedState from 0x14003ab00 to 0x14003aba1 (161 bytes) // // 5 xrefs: // > AchievementManager::notifyAchievementWithID @ 0x14003a71b // > AchievementBar::show @ 0x140081d97 // > AppDelegate::willSwitchToScene @ 0x1400835ed // > GameStatsManager::incrementChallenge @ 0x1401e2736 // > @ 0x1406c3d38 // // 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 // // Hidden C++ exception states: #wind=1 AchievementNotifier *AchievementNotifier::sharedState() { AchievementNotifier *result; // rax cocos2d::CCObject *v1; // rax cocos2d::CCNode *v2; // [rsp+30h] [rbp+8h] result = (AchievementNotifier *)qword_1406C2E68; if ( !qword_1406C2E68 ) { v2 = (cocos2d::CCNode *)operator new(0x158u); cocos2d::CCNode::CCNode(v2); v2->__vftable = (cocos2d::CCNode_vtbl *)&AchievementNotifier::`vftable'; v2[1].__vftable = nullptr; *(_QWORD *)&v2[1].m_uID = 0; *(_QWORD *)&v2[1].m_nTag = 0; qword_1406C2E68 = (__int64)v2; v1 = (cocos2d::CCObject *)cocos2d::CCArray::create(AchievementNotifier::init); *(_QWORD *)&v2[1].m_uID = v1; cocos2d::CCObject::retain(v1); return (AchievementNotifier *)qword_1406C2E68; } return result; }