{"type": "func", "start": 6443149648, "end": 6443149831, "name": "sub_1800AA950", "pseudocode": "// \n// sub_1800AA950 from 0x1800aa950 to 0x1800aaa07 (183 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801051c0\n// > <???> @ 0x1801b7f80\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\n// Hidden C++ exception states: #wind=1\ncocos2d::CCNode *__fastcall sub_1800AA950(cocos2d::CCNode *this, char a2)\n{\n  if ( (a2 & 2) != 0 )\n  {\n    `eh vector destructor iterator'(\n      this,\n      0x150u,\n      *((_QWORD *)this - 1),\n      (void (*)(void *))cocos2d::CCParallaxNode::~CCParallaxNode);\n    if ( (a2 & 1) != 0 )\n      j_j_j_free_0((char *)this - 8);\n    return (cocos2d::CCNode *)((char *)this - 8);\n  }\n  else\n  {\n    this->__vftable = (cocos2d::CCNode_vtbl *)&cocos2d::CCParallaxNode::`vftable';\n    if ( *((_QWORD *)this + 40) )\n    {\n      sub_18009DA50((void **)this + 40);\n      *((_QWORD *)this + 40) = 0;\n    }\n    cocos2d::CCNode::~CCNode(this);\n    if ( (a2 & 1) != 0 )\n      j_j_free_0(this);\n    return this;\n  }\n}", "assembly": "; \n; sub_1800AA950 from 0x1800aa950 to 0x1800aaa07 (183 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801051c0\n; > <???> @ 0x1801b7f80\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, 0x1800aa950\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800aa955\npush    rdi                                                            ; +0xa, 0x1800aa95a\nsub     rsp, 20h                                                       ; +0xb, 0x1800aa95b\nmov     esi, edx                                                       ; +0xf, 0x1800aa95f\nmov     rbx, rcx                                                       ; +0x11, 0x1800aa961\ntest    dl, 2                                                          ; +0x14, 0x1800aa964\njz      short loc_1800AA9AD                                            ; +0x17, 0x1800aa967\nlea     r9, ??1CCParallaxNode@cocos2d@@UEAA@XZ; void (*)(void *)       ; +0x19, 0x1800aa969\nmov     r8, [rcx-8]; unsigned __int64                                  ; +0x20, 0x1800aa970\nmov     edx, 150h; unsigned __int64                                    ; +0x24, 0x1800aa974\ncall    ??_M@YAXPEAX_K1P6AX0@Z@Z; `eh vector destructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *)) ; +0x29, 0x1800aa979\ntest    sil, 1                                                         ; +0x2e, 0x1800aa97e\njz      short loc_1800AA999                                            ; +0x32, 0x1800aa982\nimul    rdx, [rbx-8], 150h                                             ; +0x34, 0x1800aa984\nadd     rdx, 8                                                         ; +0x3c, 0x1800aa98c\nlea     rcx, [rbx-8]; Block                                            ; +0x40, 0x1800aa990\ncall    j_j_j_free_0                                                   ; +0x44, 0x1800aa994\nlea     rax, [rbx-8]                                                   ; +0x49, 0x1800aa999\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x1800aa99d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x52, 0x1800aa9a2\nadd     rsp, 20h                                                       ; +0x57, 0x1800aa9a7\npop     rdi                                                            ; +0x5b, 0x1800aa9ab\nretn                                                                   ; +0x5c, 0x1800aa9ac\nlea     rax, ??_7CCParallaxNode@cocos2d@@6B@; const cocos2d::CCParallaxNode::`vftable' ; +0x5d, 0x1800aa9ad\nmov     [rcx], rax                                                     ; +0x64, 0x1800aa9b4\ncmp     qword ptr [rcx+140h], 0                                        ; +0x67, 0x1800aa9b7\njz      short loc_1800AA9D8                                            ; +0x6f, 0x1800aa9bf\nadd     rcx, 140h                                                      ; +0x71, 0x1800aa9c1\ncall    sub_18009DA50                                                  ; +0x78, 0x1800aa9c8\nmov     qword ptr [rbx+140h], 0                                        ; +0x7d, 0x1800aa9cd\nmov     rcx, rbx; this                                                 ; +0x88, 0x1800aa9d8\ncall    ??1CCNode@cocos2d@@UEAA@XZ; cocos2d::CCNode::~CCNode(void)     ; +0x8b, 0x1800aa9db\nnop                                                                    ; +0x90, 0x1800aa9e0\ntest    sil, 1                                                         ; +0x91, 0x1800aa9e1\njz      short loc_1800AA9F4                                            ; +0x95, 0x1800aa9e5\nmov     edx, 150h                                                      ; +0x97, 0x1800aa9e7\nmov     rcx, rbx; Block                                                ; +0x9c, 0x1800aa9ec\ncall    j_j_free_0                                                     ; +0x9f, 0x1800aa9ef\nmov     rax, rbx                                                       ; +0xa4, 0x1800aa9f4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa7, 0x1800aa9f7\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xac, 0x1800aa9fc\nadd     rsp, 20h                                                       ; +0xb1, 0x1800aaa01\npop     rdi                                                            ; +0xb5, 0x1800aaa05\nretn                                                                   ; +0xb6, 0x1800aaa06", "xrefs": ["<???> @ 0x1801051c0", "<???> @ 0x1801b7f80"], "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"}