{"type": "func", "start": 6443069840, "end": 6443070006, "name": "cocos2d::CCNotificationCenter::removeObserver", "pseudocode": "// \n// cocos2d::CCNotificationCenter::removeObserver from 0x180097190 to 0x180097236 (166 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1801472c0\n// > <???> @ 0x1801472f4\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c0834\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:10 +0000\n// \n\nvoid __fastcall cocos2d::CCNotificationCenter::removeObserver(\n        cocos2d::CCNotificationCenter *this,\n        struct cocos2d::CCObject *a2,\n        const char *a3)\n{\n  __int64 v3; // rbx\n  unsigned int *v7; // rbx\n  __int64 v8; // rax\n  struct cocos2d::CCObject **v9; // rbx\n  struct cocos2d::CCObject **i; // rsi\n  struct cocos2d::CCObject *v11; // rdi\n  const char *v12; // rax\n\n  v3 = *((_QWORD *)this + 7);\n  if ( v3 )\n  {\n    v7 = *(unsigned int **)(v3 + 56);\n    v8 = *v7;\n    if ( (_DWORD)v8 )\n    {\n      v9 = *((struct cocos2d::CCObject ***)v7 + 2);\n      for ( i = &v9[v8 - 1]; v9 <= i; ++v9 )\n      {\n        v11 = *v9;\n        if ( !*v9 )\n          break;\n        v12 = (const char *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v11 + 88LL))(*v9);\n        if ( !strcmp(v12, a3)\n          && (struct cocos2d::CCObject *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v11 + 72LL))(v11) == a2 )\n        {\n          cocos2d::CCArray::removeObject(*((cocos2d::CCArray **)this + 7), v11);\n          return;\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCNotificationCenter::removeObserver from 0x180097190 to 0x180097236 (166 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1801472c0\n; > <???> @ 0x1801472f4\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c0834\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:10 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x180097190\npush    rbp                                                            ; +0x5, 0x180097195\npush    r14                                                            ; +0x6, 0x180097196\npush    r15                                                            ; +0x8, 0x180097198\nsub     rsp, 20h                                                       ; +0xa, 0x18009719a\nmov     rbx, [rcx+38h]                                                 ; +0xe, 0x18009719e\nmov     r14, r8                                                        ; +0x12, 0x1800971a2\nmov     rbp, rdx                                                       ; +0x15, 0x1800971a5\nmov     r15, rcx                                                       ; +0x18, 0x1800971a8\ntest    rbx, rbx                                                       ; +0x1b, 0x1800971ab\njz      short loc_180097227                                            ; +0x1e, 0x1800971ae\nmov     rbx, [rbx+38h]                                                 ; +0x20, 0x1800971b0\nmov     eax, [rbx]                                                     ; +0x24, 0x1800971b4\ntest    eax, eax                                                       ; +0x26, 0x1800971b6\njz      short loc_180097227                                            ; +0x28, 0x1800971b8\nmov     rbx, [rbx+10h]                                                 ; +0x2a, 0x1800971ba\nmov     [rsp+38h+arg_0], rsi                                           ; +0x2e, 0x1800971be\nlea     rsi, [rax-1]                                                   ; +0x33, 0x1800971c3\nlea     rsi, [rbx+rsi*8]                                               ; +0x37, 0x1800971c7\ncmp     rbx, rsi                                                       ; +0x3b, 0x1800971cb\nja      short loc_180097222                                            ; +0x3e, 0x1800971ce\nmov     [rsp+38h+arg_8], rdi                                           ; +0x40, 0x1800971d0\nmov     rdi, [rbx]                                                     ; +0x45, 0x1800971d5\ntest    rdi, rdi                                                       ; +0x48, 0x1800971d8\njz      short loc_18009721D                                            ; +0x4b, 0x1800971db\nmov     rax, [rdi]                                                     ; +0x4d, 0x1800971dd\nmov     rcx, rdi                                                       ; +0x50, 0x1800971e0\ncall    qword ptr [rax+58h]                                            ; +0x53, 0x1800971e3\nmov     rcx, rax; Str1                                                 ; +0x56, 0x1800971e6\nmov     rdx, r14; Str2                                                 ; +0x59, 0x1800971e9\ncall    strcmp                                                         ; +0x5c, 0x1800971ec\ntest    eax, eax                                                       ; +0x61, 0x1800971f1\njnz     short loc_180097203                                            ; +0x63, 0x1800971f3\nmov     rax, [rdi]                                                     ; +0x65, 0x1800971f5\nmov     rcx, rdi                                                       ; +0x68, 0x1800971f8\ncall    qword ptr [rax+48h]                                            ; +0x6b, 0x1800971fb\ncmp     rax, rbp                                                       ; +0x6e, 0x1800971fe\njz      short loc_18009720E                                            ; +0x71, 0x180097201\nadd     rbx, 8                                                         ; +0x73, 0x180097203\ncmp     rbx, rsi                                                       ; +0x77, 0x180097207\njbe     short loc_1800971D5                                            ; +0x7a, 0x18009720a\njmp     short loc_18009721D                                            ; +0x7c, 0x18009720c\nmov     rcx, [r15+38h]; this                                           ; +0x7e, 0x18009720e\nmov     r8b, 1; bool                                                   ; +0x82, 0x180097212\nmov     rdx, rdi; struct cocos2d::CCObject *                           ; +0x85, 0x180097215\ncall    ?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x88, 0x180097218\nmov     rdi, [rsp+38h+arg_8]                                           ; +0x8d, 0x18009721d\nmov     rsi, [rsp+38h+arg_0]                                           ; +0x92, 0x180097222\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x97, 0x180097227\nadd     rsp, 20h                                                       ; +0x9c, 0x18009722c\npop     r15                                                            ; +0xa0, 0x180097230\npop     r14                                                            ; +0xa2, 0x180097232\npop     rbp                                                            ; +0xa4, 0x180097234\nretn                                                                   ; +0xa5, 0x180097235", "xrefs": ["<???> @ 0x1801472c0", "<???> @ 0x1801472f4", "<???> @ 0x18014cf68", "<???> @ 0x1801c0834"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}