{"type": "func", "start": 6443053792, "end": 6443053967, "name": "sub_1800932E0", "pseudocode": "// \n// sub_1800932E0 from 0x1800932e0 to 0x18009338f (175 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180104290\n// > <???> @ 0x1801b6498\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCObject *__fastcall sub_1800932E0(cocos2d::CCObject *this, char a2)\n{\n  void *v5; // rcx\n\n  if ( (a2 & 2) != 0 )\n  {\n    `eh vector destructor iterator'(\n      this,\n      0x60u,\n      *((_QWORD *)this - 1),\n      (void (*)(void *))cocos2d::CCNotificationObserver::~CCNotificationObserver);\n    if ( (a2 & 1) != 0 )\n      j_j_j_free_0((char *)this - 8);\n    return (cocos2d::CCObject *)((char *)this - 8);\n  }\n  else\n  {\n    this->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCNotificationObserver::`vftable';\n    v5 = *((void **)this + 9);\n    if ( v5 )\n    {\n      j_j_free_0(v5);\n      *((_QWORD *)this + 9) = 0;\n    }\n    cocos2d::CCObject::~CCObject(this);\n    if ( (a2 & 1) != 0 )\n      j_j_free_0(this);\n    return this;\n  }\n}", "assembly": "; \n; sub_1800932E0 from 0x1800932e0 to 0x18009338f (175 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180104290\n; > <???> @ 0x1801b6498\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800932e0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800932e5\npush    rdi                                                            ; +0xa, 0x1800932ea\nsub     rsp, 20h                                                       ; +0xb, 0x1800932eb\nmov     esi, edx                                                       ; +0xf, 0x1800932ef\nmov     rbx, rcx                                                       ; +0x11, 0x1800932f1\ntest    dl, 2                                                          ; +0x14, 0x1800932f4\njz      short loc_180093341                                            ; +0x17, 0x1800932f7\nlea     r9, ??1CCNotificationObserver@cocos2d@@UEAA@XZ; void (*)(void *) ; +0x19, 0x1800932f9\nmov     r8, [rcx-8]; unsigned __int64                                  ; +0x20, 0x180093300\nmov     edx, 60h ; '`'; unsigned __int64                               ; +0x24, 0x180093304\ncall    ??_M@YAXPEAX_K1P6AX0@Z@Z; `eh vector destructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *)) ; +0x29, 0x180093309\ntest    sil, 1                                                         ; +0x2e, 0x18009330e\njz      short loc_18009332D                                            ; +0x32, 0x180093312\nmov     rcx, [rbx-8]                                                   ; +0x34, 0x180093314\nlea     rdx, [rcx+rcx*2]                                               ; +0x38, 0x180093318\nshl     rdx, 5                                                         ; +0x3c, 0x18009331c\nadd     rdx, 8                                                         ; +0x40, 0x180093320\nlea     rcx, [rbx-8]; Block                                            ; +0x44, 0x180093324\ncall    j_j_j_free_0                                                   ; +0x48, 0x180093328\nlea     rax, [rbx-8]                                                   ; +0x4d, 0x18009332d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x51, 0x180093331\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x56, 0x180093336\nadd     rsp, 20h                                                       ; +0x5b, 0x18009333b\npop     rdi                                                            ; +0x5f, 0x18009333f\nretn                                                                   ; +0x60, 0x180093340\nlea     rax, ??_7CCNotificationObserver@cocos2d@@6B@; const cocos2d::CCNotificationObserver::`vftable' ; +0x61, 0x180093341\nmov     [rcx], rax                                                     ; +0x68, 0x180093348\nmov     rcx, [rcx+48h]; Block                                          ; +0x6b, 0x18009334b\ntest    rcx, rcx                                                       ; +0x6f, 0x18009334f\njz      short loc_180093361                                            ; +0x72, 0x180093352\ncall    j_j_free_0                                                     ; +0x74, 0x180093354\nmov     qword ptr [rbx+48h], 0                                         ; +0x79, 0x180093359\nmov     rcx, rbx; this                                                 ; +0x81, 0x180093361\ncall    ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x84, 0x180093364\ntest    sil, 1                                                         ; +0x89, 0x180093369\njz      short loc_18009337C                                            ; +0x8d, 0x18009336d\nmov     edx, 60h ; '`'                                                 ; +0x8f, 0x18009336f\nmov     rcx, rbx; Block                                                ; +0x94, 0x180093374\ncall    j_j_free_0                                                     ; +0x97, 0x180093377\nmov     rax, rbx                                                       ; +0x9c, 0x18009337c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x9f, 0x18009337f\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xa4, 0x180093384\nadd     rsp, 20h                                                       ; +0xa9, 0x180093389\npop     rdi                                                            ; +0xad, 0x18009338d\nretn                                                                   ; +0xae, 0x18009338e", "xrefs": ["<???> @ 0x180104290", "<???> @ 0x1801b6498"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}