// // cocos2d::CCNotificationCenter::registerScriptObserver from 0x180097030 to 0x1800970d1 (161 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c07ec // // 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:22:10 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall cocos2d::CCNotificationCenter::registerScriptObserver( cocos2d::CCArray **this, struct cocos2d::CCObject *a2, unsigned int a3, const char *a4) { __int64 v8; // rax cocos2d::CCObject *v9; // rbx if ( !cocos2d::CCNotificationCenter::observerExisted((cocos2d::CCNotificationCenter *)this, a2, a4) ) { v8 = sub_1800E4AC0(0x60u); v9 = nullptr; if ( v8 ) v9 = (cocos2d::CCObject *)cocos2d::CCNotificationObserver::CCNotificationObserver(v8, (__int64)a2, 0, a4, 0); if ( v9 ) { (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v9 + 112LL))(v9, a3); cocos2d::CCObject::autorelease(v9); cocos2d::CCArray::addObject(*(this + 7), v9); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source