{"type": "func", "start": 6442857488, "end": 6442857669, "name": "sub_180063410", "pseudocode": "// \n// sub_180063410 from 0x180063410 to 0x1800634c5 (181 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCParticleBatchNode::create @ 0x1800637c7\n// > cocos2d::CCParticleBatchNode::createWithTexture @ 0x1800638a4\n// > cocos2d::CCParticleBatchNode::create @ 0x1800637b6\n// > cocos2d::CCParticleBatchNode::createWithTexture @ 0x180063893\n// > <???> @ 0x1801005b0\n// > <???> @ 0x1801bd90c\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:21:51 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCNode *__fastcall sub_180063410(cocos2d::CCObject **this, char a2)\n{\n  cocos2d::CCObject *v5; // rcx\n\n  if ( (a2 & 2) != 0 )\n  {\n    sub_1800E49F8(this, 344, *(this - 1), cocos2d::CCParticleBatchNode::~CCParticleBatchNode);\n    if ( (a2 & 1) != 0 )\n      j_j_j_free_0(this - 1);\n    return (cocos2d::CCNode *)(this - 1);\n  }\n  else\n  {\n    *this = (cocos2d::CCObject *)&cocos2d::CCParticleBatchNode::`vftable'{for `cocos2d::CCNode'};\n    *(this + 40) = (cocos2d::CCObject *)&cocos2d::CCParticleBatchNode::`vftable'{for `cocos2d::CCTextureProtocol'};\n    v5 = *(this + 41);\n    if ( v5 )\n      cocos2d::CCObject::release(v5);\n    cocos2d::CCNode::~CCNode((cocos2d::CCNode *)this);\n    if ( (a2 & 1) != 0 )\n      j_j_free_0(this);\n    return (cocos2d::CCNode *)this;\n  }\n}", "assembly": "; \n; sub_180063410 from 0x180063410 to 0x1800634c5 (181 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCParticleBatchNode::create @ 0x1800637c7\n; > cocos2d::CCParticleBatchNode::createWithTexture @ 0x1800638a4\n; > cocos2d::CCParticleBatchNode::create @ 0x1800637b6\n; > cocos2d::CCParticleBatchNode::createWithTexture @ 0x180063893\n; > <???> @ 0x1801005b0\n; > <???> @ 0x1801bd90c\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:21:51 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180063410\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180063415\npush    rdi                                                            ; +0xa, 0x18006341a\nsub     rsp, 20h                                                       ; +0xb, 0x18006341b\nmov     esi, edx                                                       ; +0xf, 0x18006341f\nmov     rbx, rcx                                                       ; +0x11, 0x180063421\ntest    dl, 2                                                          ; +0x14, 0x180063424\njz      short loc_18006346D                                            ; +0x17, 0x180063427\nlea     r9, ??1CCParticleBatchNode@cocos2d@@UEAA@XZ; cocos2d::CCParticleBatchNode::~CCParticleBatchNode(void) ; +0x19, 0x180063429\nmov     r8, [rcx-8]                                                    ; +0x20, 0x180063430\nmov     edx, 158h                                                      ; +0x24, 0x180063434\ncall    sub_1800E49F8                                                  ; +0x29, 0x180063439\ntest    sil, 1                                                         ; +0x2e, 0x18006343e\njz      short loc_180063459                                            ; +0x32, 0x180063442\nimul    rdx, [rbx-8], 158h                                             ; +0x34, 0x180063444\nadd     rdx, 8                                                         ; +0x3c, 0x18006344c\nlea     rcx, [rbx-8]; Block                                            ; +0x40, 0x180063450\ncall    j_j_j_free_0                                                   ; +0x44, 0x180063454\nlea     rax, [rbx-8]                                                   ; +0x49, 0x180063459\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x18006345d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x52, 0x180063462\nadd     rsp, 20h                                                       ; +0x57, 0x180063467\npop     rdi                                                            ; +0x5b, 0x18006346b\nretn                                                                   ; +0x5c, 0x18006346c\nlea     rax, ??_7CCParticleBatchNode@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleBatchNode::`vftable'{for `cocos2d::CCNode'} ; +0x5d, 0x18006346d\nmov     [rcx], rax                                                     ; +0x64, 0x180063474\nlea     rax, ??_7CCParticleBatchNode@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleBatchNode::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x67, 0x180063477\nmov     [rcx+140h], rax                                                ; +0x6e, 0x18006347e\nmov     rcx, [rcx+148h]; this                                          ; +0x75, 0x180063485\ntest    rcx, rcx                                                       ; +0x7c, 0x18006348c\njz      short loc_180063496                                            ; +0x7f, 0x18006348f\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x81, 0x180063491\nmov     rcx, rbx; this                                                 ; +0x86, 0x180063496\ncall    ??1CCNode@cocos2d@@UEAA@XZ; cocos2d::CCNode::~CCNode(void)     ; +0x89, 0x180063499\nnop                                                                    ; +0x8e, 0x18006349e\ntest    sil, 1                                                         ; +0x8f, 0x18006349f\njz      short loc_1800634B2                                            ; +0x93, 0x1800634a3\nmov     edx, 158h                                                      ; +0x95, 0x1800634a5\nmov     rcx, rbx; Block                                                ; +0x9a, 0x1800634aa\ncall    j_j_free_0                                                     ; +0x9d, 0x1800634ad\nmov     rax, rbx                                                       ; +0xa2, 0x1800634b2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa5, 0x1800634b5\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xaa, 0x1800634ba\nadd     rsp, 20h                                                       ; +0xaf, 0x1800634bf\npop     rdi                                                            ; +0xb3, 0x1800634c3\nretn                                                                   ; +0xb4, 0x1800634c4", "xrefs": ["cocos2d::CCParticleBatchNode::create @ 0x1800637c7", "cocos2d::CCParticleBatchNode::createWithTexture @ 0x1800638a4", "cocos2d::CCParticleBatchNode::create @ 0x1800637b6", "cocos2d::CCParticleBatchNode::createWithTexture @ 0x180063893", "<???> @ 0x1801005b0", "<???> @ 0x1801bd90c"], "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"}