{"type": "func", "start": 6442533024, "end": 6442533088, "name": "sub_1800140A0", "pseudocode": "// \n// sub_1800140A0 from 0x1800140a0 to 0x1800140e0 (64 bytes)\n// \n// 3 xrefs:\n// > sub_180014718 @ 0x18001471c\n// > <???> @ 0x18002adf8\n// > <???> @ 0x18004c560\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:15:41 +0000\n// \n\ncocos2d::CCObject *__fastcall sub_1800140A0(cocos2d::CCObject *Block, char a2)\n{\n  *((_QWORD *)Block + 7) = &cocos2d::extension::CCSortableObject::`vftable';\n  cocos2d::CCObject::~CCObject(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; sub_1800140A0 from 0x1800140a0 to 0x1800140e0 (64 bytes)\n; \n; 3 xrefs:\n; > sub_180014718 @ 0x18001471c\n; > <???> @ 0x18002adf8\n; > <???> @ 0x18004c560\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:15:41 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800140a0\npush    rdi                                                            ; +0x5, 0x1800140a5\nsub     rsp, 20h                                                       ; +0x6, 0x1800140a6\nlea     rax, ??_7CCSortableObject@extension@cocos2d@@6B@; const cocos2d::extension::CCSortableObject::`vftable' ; +0xa, 0x1800140aa\nmov     ebx, edx                                                       ; +0x11, 0x1800140b1\nmov     [rcx+38h], rax                                                 ; +0x13, 0x1800140b3\nmov     rdi, rcx                                                       ; +0x17, 0x1800140b7\ncall    cs:__imp_??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x1a, 0x1800140ba\ntest    bl, 1                                                          ; +0x20, 0x1800140c0\njz      short loc_1800140D2                                            ; +0x23, 0x1800140c3\nmov     edx, 48h ; 'H'                                                 ; +0x25, 0x1800140c5\nmov     rcx, rdi; Block                                                ; +0x2a, 0x1800140ca\ncall    j_j_free                                                       ; +0x2d, 0x1800140cd\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x32, 0x1800140d2\nmov     rax, rdi                                                       ; +0x37, 0x1800140d7\nadd     rsp, 20h                                                       ; +0x3a, 0x1800140da\npop     rdi                                                            ; +0x3e, 0x1800140de\nretn                                                                   ; +0x3f, 0x1800140df", "xrefs": ["sub_180014718 @ 0x18001471c", "<???> @ 0x18002adf8", "<???> @ 0x18004c560"], "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"}