{"type": "func", "start": 4297143984, "end": 4297144140, "name": "ExplodeItemNode::create", "pseudocode": "// \n// ExplodeItemNode::create from 0x1002136b0 to 0x10021374c (156 bytes)\n// \n// 2 xrefs:\n// > PlayerObject::playDeathEffect @ 0x1002134b3\n// > MapSelectLayer::checkTouchMonster @ 0x1002695e2\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\nExplodeItemNode *__fastcall ExplodeItemNode::create(cocos2d::CCRenderTexture *a1)\n{\n  __int64 v1; // rsi\n  ExplodeItemNode *v2; // rbx\n  cocos2d::CCObject *v3; // rax\n\n  v2 = (ExplodeItemNode *)operator new(0x160u);\n  cocos2d::CCNode::CCNode(v2);\n  v2->__vftable = (ExplodeItemNode_vtbl *)off_1008DCDD8;\n  v2->m_renderTexture = nullptr;\n  *(_QWORD *)&v2->m_unk1 = 0;\n  v2->m_noGravity = 0;\n  if ( cocos2d::CCNode::init(v2) )\n  {\n    v2->m_floorHeight = 90.0;\n    v2->m_renderTexture = a1;\n    cocos2d::CCObject::retain(a1);\n    v3 = (cocos2d::CCObject *)sub_10071F9E0(a1, v1);\n    v2->m_sprites = (cocos2d::CCArray *)v3;\n    cocos2d::CCObject::retain(v3);\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(ExplodeItemNode *))v2->~ExplodeItemNode_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; ExplodeItemNode::create from 0x1002136b0 to 0x10021374c (156 bytes)\n; \n; 2 xrefs:\n; > PlayerObject::playDeathEffect @ 0x1002134b3\n; > MapSelectLayer::checkTouchMonster @ 0x1002695e2\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\npush    rbp                                                            ; +0x0, 0x1002136b0\nmov     rbp, rsp                                                       ; +0x1, 0x1002136b1\npush    r14                                                            ; +0x4, 0x1002136b4\npush    rbx                                                            ; +0x6, 0x1002136b6\nmov     r14, rdi                                                       ; +0x7, 0x1002136b7\nmov     edi, 160h; __sz                                                ; +0xa, 0x1002136ba\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1002136bf\nmov     rbx, rax                                                       ; +0x14, 0x1002136c4\nmov     rdi, rax                                                       ; +0x17, 0x1002136c7\ncall    cocos2d__CCNode__CCNode                                        ; +0x1a, 0x1002136ca\nlea     rax, off_1008DCDD8                                             ; +0x1f, 0x1002136cf\nmov     [rbx], rax                                                     ; +0x26, 0x1002136d6\nmov     qword ptr [rbx+140h], 0                                        ; +0x29, 0x1002136d9\nmov     qword ptr [rbx+150h], 0                                        ; +0x34, 0x1002136e4\nmov     byte ptr [rbx+158h], 0                                         ; +0x3f, 0x1002136ef\nmov     rdi, rbx                                                       ; +0x46, 0x1002136f6\ncall    cocos2d__CCNode__init                                          ; +0x49, 0x1002136f9\ntest    al, al                                                         ; +0x4e, 0x1002136fe\njz      short loc_100213739                                            ; +0x50, 0x100213700\nmov     dword ptr [rbx+154h], 42B40000h                                ; +0x52, 0x100213702\nmov     [rbx+140h], r14                                                ; +0x5c, 0x10021370c\nmov     rdi, r14                                                       ; +0x63, 0x100213713\ncall    cocos2d__CCObject__retain                                      ; +0x66, 0x100213716\ncall    sub_10071F9E0                                                  ; +0x6b, 0x10021371b\nmov     [rbx+148h], rax                                                ; +0x70, 0x100213720\nmov     rdi, rax                                                       ; +0x77, 0x100213727\ncall    cocos2d__CCObject__retain                                      ; +0x7a, 0x10021372a\nmov     rdi, rbx                                                       ; +0x7f, 0x10021372f\ncall    cocos2d__CCObject__autorelease                                 ; +0x82, 0x100213732\njmp     short loc_100213744                                            ; +0x87, 0x100213737\nmov     rax, [rbx]                                                     ; +0x89, 0x100213739\nmov     rdi, rbx                                                       ; +0x8c, 0x10021373c\ncall    qword ptr [rax+10h]                                            ; +0x8f, 0x10021373f\nxor     ebx, ebx                                                       ; +0x92, 0x100213742\nmov     rax, rbx                                                       ; +0x94, 0x100213744\npop     rbx                                                            ; +0x97, 0x100213747\npop     r14                                                            ; +0x98, 0x100213748\npop     rbp                                                            ; +0x9a, 0x10021374a\nretn                                                                   ; +0x9b, 0x10021374b", "xrefs": ["PlayerObject::playDeathEffect @ 0x1002134b3", "MapSelectLayer::checkTouchMonster @ 0x1002695e2"], "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"}