{"type": "func", "start": 5373831440, "end": 5373831634, "name": "ExplodeItemNode::create", "pseudocode": "// \n// ExplodeItemNode::create from 0x1404e2910 to 0x1404e29d2 (194 bytes)\n// \n// 2 xrefs:\n// > PlayerObject::playDeathEffect @ 0x1404e21f0\n// > <???> @ 0x140929b10\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:33:09 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCNode *__fastcall ExplodeItemNode::create(cocos2d::CCObject *a1)\n{\n  cocos2d::CCNode *v2; // rbx\n  __int64 v3; // rcx\n  cocos2d::CCObject *v4; // rax\n\n  v2 = (cocos2d::CCNode *)operator new(0x160u);\n  cocos2d::CCNode::CCNode(v2);\n  *(_QWORD *)v2 = &ExplodeItemNode::`vftable';\n  *((_QWORD *)v2 + 40) = 0;\n  *((_QWORD *)v2 + 42) = 0;\n  *((_BYTE *)v2 + 344) = 0;\n  if ( cocos2d::CCNode::init(v2) )\n  {\n    *((_DWORD *)v2 + 85) = 1119092736;\n    *((_QWORD *)v2 + 40) = a1;\n    cocos2d::CCObject::retain(a1);\n    v4 = (cocos2d::CCObject *)cocos2d::CCArray::create(v3);\n    *((_QWORD *)v2 + 41) = v4;\n    cocos2d::CCObject::retain(v4);\n    cocos2d::CCObject::autorelease(v2);\n    return v2;\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; ExplodeItemNode::create from 0x1404e2910 to 0x1404e29d2 (194 bytes)\n; \n; 2 xrefs:\n; > PlayerObject::playDeathEffect @ 0x1404e21f0\n; > <???> @ 0x140929b10\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:33:09 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404e2910\npush    rdi                                                            ; +0x5, 0x1404e2915\nsub     rsp, 20h                                                       ; +0x6, 0x1404e2916\nmov     rdi, rcx                                                       ; +0xa, 0x1404e291a\nmov     ecx, 160h; Size                                                ; +0xd, 0x1404e291d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x1404e2922\nmov     rbx, rax                                                       ; +0x17, 0x1404e2927\nmov     [rsp+28h+arg_8], rax                                           ; +0x1a, 0x1404e292a\nmov     rcx, rax                                                       ; +0x1f, 0x1404e292f\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x22, 0x1404e2932\nlea     rax, ??_7ExplodeItemNode@@6B@; const ExplodeItemNode::`vftable' ; +0x28, 0x1404e2938\nmov     [rbx], rax                                                     ; +0x2f, 0x1404e293f\nmov     qword ptr [rbx+140h], 0                                        ; +0x32, 0x1404e2942\nmov     qword ptr [rbx+150h], 0                                        ; +0x3d, 0x1404e294d\nmov     byte ptr [rbx+158h], 0                                         ; +0x48, 0x1404e2958\nmov     rcx, rbx                                                       ; +0x4f, 0x1404e295f\ncall    cs:__imp_?init@CCNode@cocos2d@@UEAA_NXZ; cocos2d::CCNode::init(void) ; +0x52, 0x1404e2962\ntest    al, al                                                         ; +0x58, 0x1404e2968\njz      short loc_1404E29B3                                            ; +0x5a, 0x1404e296a\nmov     dword ptr [rbx+154h], 42B40000h                                ; +0x5c, 0x1404e296c\nmov     [rbx+140h], rdi                                                ; +0x66, 0x1404e2976\nmov     rcx, rdi                                                       ; +0x6d, 0x1404e297d\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x70, 0x1404e2980\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x76, 0x1404e2986\nmov     [rbx+148h], rax                                                ; +0x7c, 0x1404e298c\nmov     rcx, rax                                                       ; +0x83, 0x1404e2993\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x86, 0x1404e2996\nmov     rcx, rbx                                                       ; +0x8c, 0x1404e299c\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x8f, 0x1404e299f\nmov     rax, rbx                                                       ; +0x95, 0x1404e29a5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x98, 0x1404e29a8\nadd     rsp, 20h                                                       ; +0x9d, 0x1404e29ad\npop     rdi                                                            ; +0xa1, 0x1404e29b1\nretn                                                                   ; +0xa2, 0x1404e29b2\nmov     rcx, [rbx]                                                     ; +0xa3, 0x1404e29b3\nmov     r8, [rcx+8]                                                    ; +0xa6, 0x1404e29b6\nmov     edx, 1                                                         ; +0xaa, 0x1404e29ba\nmov     rcx, rbx                                                       ; +0xaf, 0x1404e29bf\ncall    r8                                                             ; +0xb2, 0x1404e29c2\nxor     eax, eax                                                       ; +0xb5, 0x1404e29c5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xb7, 0x1404e29c7\nadd     rsp, 20h                                                       ; +0xbc, 0x1404e29cc\npop     rdi                                                            ; +0xc0, 0x1404e29d0\nretn                                                                   ; +0xc1, 0x1404e29d1", "xrefs": ["PlayerObject::playDeathEffect @ 0x1404e21f0", "<???> @ 0x140929b10"], "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"}