{"type": "func", "start": 6442597584, "end": 6442597758, "name": "sub_180023CD0", "pseudocode": "// \n// sub_180023CD0 from 0x180023cd0 to 0x180023d7e (174 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1800e7418\n// > <???> @ 0x1801af0dc\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_180023CD0(cocos2d::CCObject *this, char a2)\n{\n  cocos2d::CCObject *v5; // rcx\n\n  if ( (a2 & 2) != 0 )\n  {\n    `eh vector destructor iterator'(this, 0x80u, *((_QWORD *)this - 1), (void (*)(void *))cocos2d::CCFollow::~CCFollow);\n    if ( (a2 & 1) != 0 )\n      j_j_j_free_0((char *)this - 8);\n    return (cocos2d::CCObject *)((char *)this - 8);\n  }\n  else\n  {\n    this->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCFollow::`vftable';\n    v5 = *((cocos2d::CCObject **)this + 10);\n    if ( v5 )\n      cocos2d::CCObject::release(v5);\n    this->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCAction::`vftable';\n    cocos2d::CCObject::~CCObject(this);\n    if ( (a2 & 1) != 0 )\n      j_j_free_0(this);\n    return this;\n  }\n}", "assembly": "; \n; sub_180023CD0 from 0x180023cd0 to 0x180023d7e (174 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1800e7418\n; > <???> @ 0x1801af0dc\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, 0x180023cd0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180023cd5\npush    rdi                                                            ; +0xa, 0x180023cda\nsub     rsp, 20h                                                       ; +0xb, 0x180023cdb\nmov     esi, edx                                                       ; +0xf, 0x180023cdf\nmov     rbx, rcx                                                       ; +0x11, 0x180023ce1\ntest    dl, 2                                                          ; +0x14, 0x180023ce4\njz      short loc_180023D2D                                            ; +0x17, 0x180023ce7\nlea     r9, ??1CCFollow@cocos2d@@UEAA@XZ; void (*)(void *)             ; +0x19, 0x180023ce9\nmov     r8, [rcx-8]; unsigned __int64                                  ; +0x20, 0x180023cf0\nmov     edx, 80h; unsigned __int64                                     ; +0x24, 0x180023cf4\ncall    ??_M@YAXPEAX_K1P6AX0@Z@Z; `eh vector destructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *)) ; +0x29, 0x180023cf9\ntest    sil, 1                                                         ; +0x2e, 0x180023cfe\njz      short loc_180023D19                                            ; +0x32, 0x180023d02\nmov     rdx, [rbx-8]                                                   ; +0x34, 0x180023d04\nshl     rdx, 7                                                         ; +0x38, 0x180023d08\nadd     rdx, 8                                                         ; +0x3c, 0x180023d0c\nlea     rcx, [rbx-8]; Block                                            ; +0x40, 0x180023d10\ncall    j_j_j_free_0                                                   ; +0x44, 0x180023d14\nlea     rax, [rbx-8]                                                   ; +0x49, 0x180023d19\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x180023d1d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x52, 0x180023d22\nadd     rsp, 20h                                                       ; +0x57, 0x180023d27\npop     rdi                                                            ; +0x5b, 0x180023d2b\nretn                                                                   ; +0x5c, 0x180023d2c\nlea     rax, ??_7CCFollow@cocos2d@@6B@; const cocos2d::CCFollow::`vftable' ; +0x5d, 0x180023d2d\nmov     [rcx], rax                                                     ; +0x64, 0x180023d34\nmov     rcx, [rcx+50h]; this                                           ; +0x67, 0x180023d37\ntest    rcx, rcx                                                       ; +0x6b, 0x180023d3b\njz      short loc_180023D45                                            ; +0x6e, 0x180023d3e\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x70, 0x180023d40\nlea     rax, ??_7CCAction@cocos2d@@6B@; const cocos2d::CCAction::`vftable' ; +0x75, 0x180023d45\nmov     [rbx], rax                                                     ; +0x7c, 0x180023d4c\nmov     rcx, rbx; this                                                 ; +0x7f, 0x180023d4f\ncall    ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x82, 0x180023d52\nnop                                                                    ; +0x87, 0x180023d57\ntest    sil, 1                                                         ; +0x88, 0x180023d58\njz      short loc_180023D6B                                            ; +0x8c, 0x180023d5c\nmov     edx, 80h                                                       ; +0x8e, 0x180023d5e\nmov     rcx, rbx; Block                                                ; +0x93, 0x180023d63\ncall    j_j_free_0                                                     ; +0x96, 0x180023d66\nmov     rax, rbx                                                       ; +0x9b, 0x180023d6b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x9e, 0x180023d6e\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xa3, 0x180023d73\nadd     rsp, 20h                                                       ; +0xa8, 0x180023d78\npop     rdi                                                            ; +0xac, 0x180023d7c\nretn                                                                   ; +0xad, 0x180023d7d", "xrefs": ["<???> @ 0x1800e7418", "<???> @ 0x1801af0dc"], "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"}