// // cocos2d::CCNotificationCenter::sharedNotificationCenter from 0x180093ab0 to 0x180093b1c (108 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b65d0 // // 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=2 struct cocos2d::CCNotificationCenter *__fastcall cocos2d::CCNotificationCenter::sharedNotificationCenter() { struct cocos2d::CCNotificationCenter *result; // rax cocos2d::CCObject *v1; // rax cocos2d::CCObject *v2; // rbx struct cocos2d::CCArray *v3; // rax result = (struct cocos2d::CCNotificationCenter *)qword_1801A8A00; if ( !qword_1801A8A00 ) { v1 = (cocos2d::CCObject *)operator new(0x48u); v2 = v1; if ( v1 ) { cocos2d::CCObject::CCObject(v1); v2->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCNotificationCenter::`vftable'; v2[1].m_uID = 0; v3 = cocos2d::CCArray::createWithCapacity(3u); v2[1].__vftable = (cocos2d::CCObject_vtbl *)v3; cocos2d::CCObject::retain(v3); } else { v2 = nullptr; } qword_1801A8A00 = v2; return (struct cocos2d::CCNotificationCenter *)v2; } return result; }