{"type": "func", "start": 5373565792, "end": 5373565916, "name": "ObjectToolbox::dObjectToolbox", "pseudocode": "// \n// ObjectToolbox::dObjectToolbox from 0x1404a1b60 to 0x1404a1bdc (124 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407ce5c0\n// > <???> @ 0x140929558\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:32:57 +0000\n// \n\nvoid *__fastcall ObjectToolbox::dObjectToolbox(void *Block, char a2)\n{\n  *(_QWORD *)Block = &ObjectToolbox::`vftable';\n  sub_14018C850((__int64)Block + 320, (__int64)Block + 320, *(_QWORD *)(*((_QWORD *)Block + 40) + 8LL));\n  j_j_free(*((void **)Block + 40));\n  cocos2d::CCNode::~CCNode((cocos2d::CCNode *)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; ObjectToolbox::dObjectToolbox from 0x1404a1b60 to 0x1404a1bdc (124 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407ce5c0\n; > <???> @ 0x140929558\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:32:57 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404a1b60\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1404a1b65\npush    rdi                                                            ; +0xa, 0x1404a1b6a\nsub     rsp, 20h                                                       ; +0xb, 0x1404a1b6b\nlea     rax, ??_7ObjectToolbox@@6B@; const ObjectToolbox::`vftable'    ; +0xf, 0x1404a1b6f\nmov     edi, edx                                                       ; +0x16, 0x1404a1b76\nmov     [rcx], rax                                                     ; +0x18, 0x1404a1b78\nlea     rdx, [rcx+140h]                                                ; +0x1b, 0x1404a1b7b\nmov     r8, [rcx+140h]                                                 ; +0x22, 0x1404a1b82\nmov     rsi, rcx                                                       ; +0x29, 0x1404a1b89\nadd     rcx, 140h                                                      ; +0x2c, 0x1404a1b8c\nmov     r8, [r8+8]                                                     ; +0x33, 0x1404a1b93\ncall    sub_14018C850                                                  ; +0x37, 0x1404a1b97\nmov     rcx, [rsi+140h]; Block                                         ; +0x3c, 0x1404a1b9c\nmov     edx, 48h ; 'H'                                                 ; +0x43, 0x1404a1ba3\ncall    j_j_free                                                       ; +0x48, 0x1404a1ba8\nmov     rcx, rsi                                                       ; +0x4d, 0x1404a1bad\ncall    cs:__imp_??1CCNode@cocos2d@@UEAA@XZ; cocos2d::CCNode::~CCNode(void) ; +0x50, 0x1404a1bb0\ntest    dil, 1                                                         ; +0x56, 0x1404a1bb6\njz      short loc_1404A1BC9                                            ; +0x5a, 0x1404a1bba\nmov     edx, 150h                                                      ; +0x5c, 0x1404a1bbc\nmov     rcx, rsi; Block                                                ; +0x61, 0x1404a1bc1\ncall    j_j_free                                                       ; +0x64, 0x1404a1bc4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x69, 0x1404a1bc9\nmov     rax, rsi                                                       ; +0x6e, 0x1404a1bce\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x71, 0x1404a1bd1\nadd     rsp, 20h                                                       ; +0x76, 0x1404a1bd6\npop     rdi                                                            ; +0x7a, 0x1404a1bda\nretn                                                                   ; +0x7b, 0x1404a1bdb", "xrefs": ["<???> @ 0x1407ce5c0", "<???> @ 0x140929558"], "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"}