// // AchievementNotifier::sharedState from 0x14003d560 to 0x14003d601 (161 bytes) // // 5 xrefs: // > AchievementManager::notifyAchievementWithID @ 0x14003cfa7 // > AchievementBar::show @ 0x140097453 // > AppDelegate::willSwitchToScene @ 0x140098cd2 // > GameStatsManager::incrementChallenge @ 0x1402e6153 // > @ 0x14090f0c8 // // This function is hookable on this platform (idp: pc, 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:25:28 +0000 // // Hidden C++ exception states: #wind=1 __int64 AchievementNotifier::sharedState() { __int64 result; // rax cocos2d::CCObject *v1; // rax cocos2d::CCNode *v2; // [rsp+30h] [rbp+8h] result = qword_14090BF40; if ( !qword_14090BF40 ) { v2 = (cocos2d::CCNode *)operator new(0x158u); cocos2d::CCNode::CCNode(v2); *(_QWORD *)v2 = &AchievementNotifier::`vftable'; *((_QWORD *)v2 + 40) = 0; *((_QWORD *)v2 + 41) = 0; *((_QWORD *)v2 + 42) = 0; qword_14090BF40 = (__int64)v2; v1 = (cocos2d::CCObject *)cocos2d::CCArray::create(AchievementNotifier::init); *((_QWORD *)v2 + 41) = v1; cocos2d::CCObject::retain(v1); return qword_14090BF40; } return result; }