// // cocos2d::CCNotificationCenter::addObserver from 0x180093390 to 0x180093420 (144 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b64a4 // // 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 void __fastcall cocos2d::CCNotificationCenter::addObserver( __int64 a1, struct cocos2d::CCObject *a2, __int64 a3, char *a4, __int64 a5) { void *v9; // rax cocos2d::CCObject *v10; // rbx if ( !cocos2d::CCNotificationCenter::observerExisted((cocos2d::CCNotificationCenter *)a1, a2, a4) ) { v9 = operator new(0x60u); if ( v9 ) v10 = (cocos2d::CCObject *)cocos2d::CCNotificationObserver::CCNotificationObserver( (__int64)v9, (__int64)a2, a3, a4, a5); else v10 = nullptr; if ( v10 ) { cocos2d::CCObject::autorelease(v10); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 56), v10); } } }