; ; cocos2d::CCNotificationCenter::addObserver from 0x180096bb0 to 0x180096c40 (144 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801c0744 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x180096bb0 mov [rsp+arg_8], rbp ; +0x5, 0x180096bb5 mov [rsp+arg_10], rsi ; +0xa, 0x180096bba push rdi ; +0xf, 0x180096bbf sub rsp, 40h ; +0x10, 0x180096bc0 mov rbx, r9 ; +0x14, 0x180096bc4 mov rbp, r8 ; +0x17, 0x180096bc7 mov rsi, rdx ; +0x1a, 0x180096bca mov rdi, rcx ; +0x1d, 0x180096bcd mov r8, r9; char * ; +0x20, 0x180096bd0 call ?observerExisted@CCNotificationCenter@cocos2d@@AEAA_NPEAVCCObject@2@PEBD@Z; cocos2d::CCNotificationCenter::observerExisted(cocos2d::CCObject *,char const *) ; +0x23, 0x180096bd3 test al, al ; +0x28, 0x180096bd8 jnz short loc_180096C2B ; +0x2a, 0x180096bda mov ecx, 60h ; '`'; Size ; +0x2c, 0x180096bdc call sub_1800E4AC0 ; +0x31, 0x180096be1 mov [rsp+48h+var_18], rax ; +0x36, 0x180096be6 test rax, rax ; +0x3b, 0x180096beb jz short loc_180096C10 ; +0x3e, 0x180096bee mov rcx, [rsp+48h+arg_20] ; +0x40, 0x180096bf0 mov [rsp+48h+var_28], rcx ; +0x45, 0x180096bf5 mov r9, rbx ; +0x4a, 0x180096bfa mov r8, rbp ; +0x4d, 0x180096bfd mov rdx, rsi ; +0x50, 0x180096c00 mov rcx, rax ; +0x53, 0x180096c03 call ??0CCNotificationObserver@cocos2d@@QEAA@PEAVCCObject@1@P821@EAAX0@ZPEBD0@Z; cocos2d::CCNotificationObserver::CCNotificationObserver(cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *),char const *,cocos2d::CCObject *) ; +0x56, 0x180096c06 mov rbx, rax ; +0x5b, 0x180096c0b jmp short loc_180096C12 ; +0x5e, 0x180096c0e xor ebx, ebx ; +0x60, 0x180096c10 test rbx, rbx ; +0x62, 0x180096c12 jz short loc_180096C2B ; +0x65, 0x180096c15 mov rcx, rbx; this ; +0x67, 0x180096c17 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x6a, 0x180096c1a mov rdx, rbx; struct cocos2d::CCObject * ; +0x6f, 0x180096c1f mov rcx, [rdi+38h]; this ; +0x72, 0x180096c22 call ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x76, 0x180096c26 mov rbx, [rsp+48h+arg_0] ; +0x7b, 0x180096c2b mov rbp, [rsp+48h+arg_8] ; +0x80, 0x180096c30 mov rsi, [rsp+48h+arg_10] ; +0x85, 0x180096c35 add rsp, 40h ; +0x8a, 0x180096c3a pop rdi ; +0x8e, 0x180096c3e retn ; +0x8f, 0x180096c3f