{"type": "func", "start": 6442534144, "end": 6442534208, "name": "sub_180014500", "pseudocode": "// \n// sub_180014500 from 0x180014500 to 0x180014540 (64 bytes)\n// \n// 3 xrefs:\n// > sub_180014B48 @ 0x180014b4c\n// > <???> @ 0x180028760\n// > <???> @ 0x18004a62c\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\ncocos2d::CCObject *__fastcall sub_180014500(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_180014500 from 0x180014500 to 0x180014540 (64 bytes)\n; \n; 3 xrefs:\n; > sub_180014B48 @ 0x180014b4c\n; > <???> @ 0x180028760\n; > <???> @ 0x18004a62c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180014500\npush    rdi                                                            ; +0x5, 0x180014505\nsub     rsp, 20h                                                       ; +0x6, 0x180014506\nlea     rax, ??_7CCSortableObject@extension@cocos2d@@6B@; const cocos2d::extension::CCSortableObject::`vftable' ; +0xa, 0x18001450a\nmov     ebx, edx                                                       ; +0x11, 0x180014511\nmov     [rcx+38h], rax                                                 ; +0x13, 0x180014513\nmov     rdi, rcx                                                       ; +0x17, 0x180014517\ncall    cs:__imp_??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x1a, 0x18001451a\ntest    bl, 1                                                          ; +0x20, 0x180014520\njz      short loc_180014532                                            ; +0x23, 0x180014523\nmov     edx, 48h ; 'H'                                                 ; +0x25, 0x180014525\nmov     rcx, rdi; Block                                                ; +0x2a, 0x18001452a\ncall    j_j_free                                                       ; +0x2d, 0x18001452d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x32, 0x180014532\nmov     rax, rdi                                                       ; +0x37, 0x180014537\nadd     rsp, 20h                                                       ; +0x3a, 0x18001453a\npop     rdi                                                            ; +0x3e, 0x18001453e\nretn                                                                   ; +0x3f, 0x18001453f", "xrefs": ["sub_180014B48 @ 0x180014b4c", "<???> @ 0x180028760", "<???> @ 0x18004a62c"], "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"}