{"type": "func", "start": 4297026528, "end": 4297026684, "name": "ExplodeItemNode::create", "pseudocode": "// \n// ExplodeItemNode::create from 0x1001f6be0 to 0x1001f6c7c (156 bytes)\n// \n// 2 xrefs:\n// > PlayerObject::playDeathEffect @ 0x1001f69e3\n// > MapSelectLayer::checkTouchMonster @ 0x1002535f2\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 12:26:48 +0000\n// \n\n_QWORD *__fastcall ExplodeItemNode::create(__int64 a1)\n{\n  _QWORD *v1; // rbx\n  __int64 v2; // rax\n\n  v1 = operator new(0x160u);\n  cocos2d::CCNode::CCNode(v1);\n  *v1 = off_100AE1100;\n  v1[40] = 0;\n  v1[42] = 0;\n  *((_BYTE *)v1 + 344) = 0;\n  if ( (unsigned __int8)cocos2d::CCNode::init(v1) )\n  {\n    *((_DWORD *)v1 + 85) = 1119092736;\n    v1[40] = a1;\n    cocos2d::CCObject::retain(a1);\n    v2 = sub_1007FE900(a1);\n    v1[41] = v2;\n    cocos2d::CCObject::retain(v2);\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; ExplodeItemNode::create from 0x1001f6be0 to 0x1001f6c7c (156 bytes)\n; \n; 2 xrefs:\n; > PlayerObject::playDeathEffect @ 0x1001f69e3\n; > MapSelectLayer::checkTouchMonster @ 0x1002535f2\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 12:26:48 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001f6be0\nmov     rbp, rsp                                                       ; +0x1, 0x1001f6be1\npush    r14                                                            ; +0x4, 0x1001f6be4\npush    rbx                                                            ; +0x6, 0x1001f6be6\nmov     r14, rdi                                                       ; +0x7, 0x1001f6be7\nmov     edi, 160h; __sz                                                ; +0xa, 0x1001f6bea\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1001f6bef\nmov     rbx, rax                                                       ; +0x14, 0x1001f6bf4\nmov     rdi, rax                                                       ; +0x17, 0x1001f6bf7\ncall    cocos2d__CCNode__CCNode                                        ; +0x1a, 0x1001f6bfa\nlea     rax, off_100AE1100                                             ; +0x1f, 0x1001f6bff\nmov     [rbx], rax                                                     ; +0x26, 0x1001f6c06\nmov     qword ptr [rbx+140h], 0                                        ; +0x29, 0x1001f6c09\nmov     qword ptr [rbx+150h], 0                                        ; +0x34, 0x1001f6c14\nmov     byte ptr [rbx+158h], 0                                         ; +0x3f, 0x1001f6c1f\nmov     rdi, rbx                                                       ; +0x46, 0x1001f6c26\ncall    cocos2d__CCNode__init                                          ; +0x49, 0x1001f6c29\ntest    al, al                                                         ; +0x4e, 0x1001f6c2e\njz      short loc_1001F6C69                                            ; +0x50, 0x1001f6c30\nmov     dword ptr [rbx+154h], 42B40000h                                ; +0x52, 0x1001f6c32\nmov     [rbx+140h], r14                                                ; +0x5c, 0x1001f6c3c\nmov     rdi, r14                                                       ; +0x63, 0x1001f6c43\ncall    cocos2d__CCObject__retain                                      ; +0x66, 0x1001f6c46\ncall    sub_1007FE900                                                  ; +0x6b, 0x1001f6c4b\nmov     [rbx+148h], rax                                                ; +0x70, 0x1001f6c50\nmov     rdi, rax                                                       ; +0x77, 0x1001f6c57\ncall    cocos2d__CCObject__retain                                      ; +0x7a, 0x1001f6c5a\nmov     rdi, rbx                                                       ; +0x7f, 0x1001f6c5f\ncall    cocos2d__CCObject__autorelease                                 ; +0x82, 0x1001f6c62\njmp     short loc_1001F6C74                                            ; +0x87, 0x1001f6c67\nmov     rax, [rbx]                                                     ; +0x89, 0x1001f6c69\nmov     rdi, rbx                                                       ; +0x8c, 0x1001f6c6c\ncall    qword ptr [rax+10h]                                            ; +0x8f, 0x1001f6c6f\nxor     ebx, ebx                                                       ; +0x92, 0x1001f6c72\nmov     rax, rbx                                                       ; +0x94, 0x1001f6c74\npop     rbx                                                            ; +0x97, 0x1001f6c77\npop     r14                                                            ; +0x98, 0x1001f6c78\npop     rbp                                                            ; +0x9a, 0x1001f6c7a\nretn                                                                   ; +0x9b, 0x1001f6c7b", "xrefs": ["PlayerObject::playDeathEffect @ 0x1001f69e3", "MapSelectLayer::checkTouchMonster @ 0x1002535f2"], "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"}