{"type": "func", "start": 6442567520, "end": 6442567670, "name": "sub_18001C760", "pseudocode": "// \n// sub_18001C760 from 0x18001c760 to 0x18001c7f6 (150 bytes)\n// \n// 4 xrefs:\n// > sub_18001DF90 @ 0x18001df97\n// > <???> @ 0x180029100\n// > <???> @ 0x18004aef0\n// > <???> @ 0x18004aefc\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\nchar *__fastcall sub_18001C760(char *Block, char a2)\n{\n  int v3; // esi\n\n  v3 = a2 & 1;\n  if ( (a2 & 2) != 0 )\n  {\n    `eh vector destructor iterator'(\n      Block,\n      0x150u,\n      *((_QWORD *)Block - 1),\n      (void (*)(void *))cocos2d::extension::CCTableViewCell::~CCTableViewCell);\n    if ( v3 )\n      j_j_j_free(Block - 8);\n    return Block - 8;\n  }\n  else\n  {\n    *((_QWORD *)Block + 40) = &cocos2d::extension::CCSortableObject::`vftable';\n    cocos2d::CCNode::~CCNode((cocos2d::CCNode *)Block);\n    if ( v3 )\n      j_j_free(Block);\n    return Block;\n  }\n}", "assembly": "; \n; sub_18001C760 from 0x18001c760 to 0x18001c7f6 (150 bytes)\n; \n; 4 xrefs:\n; > sub_18001DF90 @ 0x18001df97\n; > <???> @ 0x180029100\n; > <???> @ 0x18004aef0\n; > <???> @ 0x18004aefc\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, 0x18001c760\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18001c765\npush    rdi                                                            ; +0xa, 0x18001c76a\nsub     rsp, 20h                                                       ; +0xb, 0x18001c76b\nmov     rbx, rcx                                                       ; +0xf, 0x18001c76f\nmov     esi, edx                                                       ; +0x12, 0x18001c772\nand     esi, 1                                                         ; +0x14, 0x18001c774\ntest    dl, 2                                                          ; +0x17, 0x18001c777\njz      short loc_18001C7BE                                            ; +0x1a, 0x18001c77a\nlea     r9, ??1CCTableViewCell@extension@cocos2d@@UEAA@XZ; void (*)(void *) ; +0x1c, 0x18001c77c\nmov     r8, [rcx-8]; unsigned __int64                                  ; +0x23, 0x18001c783\nmov     edx, 150h; unsigned __int64                                    ; +0x27, 0x18001c787\ncall    ??_M@YAXPEAX_K1P6AX0@Z@Z; `eh vector destructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *)) ; +0x2c, 0x18001c78c\ntest    esi, esi                                                       ; +0x31, 0x18001c791\njz      short loc_18001C7AA                                            ; +0x33, 0x18001c793\nimul    rdx, [rbx-8], 150h                                             ; +0x35, 0x18001c795\nadd     rdx, 8                                                         ; +0x3d, 0x18001c79d\nlea     rcx, [rbx-8]; Block                                            ; +0x41, 0x18001c7a1\ncall    j_j_j_free                                                     ; +0x45, 0x18001c7a5\nlea     rax, [rbx-8]                                                   ; +0x4a, 0x18001c7aa\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x18001c7ae\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x53, 0x18001c7b3\nadd     rsp, 20h                                                       ; +0x58, 0x18001c7b8\npop     rdi                                                            ; +0x5c, 0x18001c7bc\nretn                                                                   ; +0x5d, 0x18001c7bd\nlea     rax, ??_7CCSortableObject@extension@cocos2d@@6B@; const cocos2d::extension::CCSortableObject::`vftable' ; +0x5e, 0x18001c7be\nmov     [rcx+140h], rax                                                ; +0x65, 0x18001c7c5\ncall    cs:??1CCNode@cocos2d@@UEAA@XZ; cocos2d::CCNode::~CCNode(void)  ; +0x6c, 0x18001c7cc\ntest    esi, esi                                                       ; +0x72, 0x18001c7d2\njz      short loc_18001C7E3                                            ; +0x74, 0x18001c7d4\nmov     edx, 150h                                                      ; +0x76, 0x18001c7d6\nmov     rcx, rbx; Block                                                ; +0x7b, 0x18001c7db\ncall    j_j_free                                                       ; +0x7e, 0x18001c7de\nmov     rax, rbx                                                       ; +0x83, 0x18001c7e3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x86, 0x18001c7e6\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x8b, 0x18001c7eb\nadd     rsp, 20h                                                       ; +0x90, 0x18001c7f0\npop     rdi                                                            ; +0x94, 0x18001c7f4\nretn                                                                   ; +0x95, 0x18001c7f5", "xrefs": ["sub_18001DF90 @ 0x18001df97", "<???> @ 0x180029100", "<???> @ 0x18004aef0", "<???> @ 0x18004aefc"], "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"}