{"type": "func", "start": 6442702304, "end": 6442702465, "name": "sub_18003D5E0", "pseudocode": "// \n// sub_18003D5E0 from 0x18003d5e0 to 0x18003d681 (161 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCActionTween::create @ 0x18003d792\n// > cocos2d::CCActionTween::create @ 0x18003d781\n// > <???> @ 0x1800f0970\n// > <???> @ 0x1801bb218\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:21:37 +0000\n// \n\ncocos2d::CCAction *__fastcall sub_18003D5E0(cocos2d::CCAction *this, char a2)\n{\n  int v3; // esi\n\n  v3 = a2 & 1;\n  if ( (a2 & 2) != 0 )\n  {\n    sub_1800E49F8(this, 144, *((_QWORD *)this - 1), cocos2d::CCActionTween::~CCActionTween);\n    if ( v3 )\n      j_j_j_free_0((char *)this - 8);\n    return (cocos2d::CCAction *)((char *)this - 8);\n  }\n  else\n  {\n    sub_180005C70((__int64)this + 96);\n    *(_QWORD *)this = &cocos2d::CCFiniteTimeAction::`vftable';\n    cocos2d::CCAction::~CCAction(this);\n    if ( v3 )\n      j_j_free_0(this);\n    return this;\n  }\n}", "assembly": "; \n; sub_18003D5E0 from 0x18003d5e0 to 0x18003d681 (161 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCActionTween::create @ 0x18003d792\n; > cocos2d::CCActionTween::create @ 0x18003d781\n; > <???> @ 0x1800f0970\n; > <???> @ 0x1801bb218\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:21:37 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18003d5e0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18003d5e5\npush    rdi                                                            ; +0xa, 0x18003d5ea\nsub     rsp, 20h                                                       ; +0xb, 0x18003d5eb\nmov     rbx, rcx                                                       ; +0xf, 0x18003d5ef\nmov     esi, edx                                                       ; +0x12, 0x18003d5f2\nand     esi, 1                                                         ; +0x14, 0x18003d5f4\ntest    dl, 2                                                          ; +0x17, 0x18003d5f7\njz      short loc_18003D642                                            ; +0x1a, 0x18003d5fa\nlea     r9, ??1CCActionTween@cocos2d@@UEAA@XZ; cocos2d::CCActionTween::~CCActionTween(void) ; +0x1c, 0x18003d5fc\nmov     r8, [rcx-8]                                                    ; +0x23, 0x18003d603\nmov     edx, 90h                                                       ; +0x27, 0x18003d607\ncall    sub_1800E49F8                                                  ; +0x2c, 0x18003d60c\ntest    esi, esi                                                       ; +0x31, 0x18003d611\njz      short loc_18003D62E                                            ; +0x33, 0x18003d613\nmov     rcx, [rbx-8]                                                   ; +0x35, 0x18003d615\nlea     rdx, [rcx+rcx*8]                                               ; +0x39, 0x18003d619\nshl     rdx, 4                                                         ; +0x3d, 0x18003d61d\nadd     rdx, 8                                                         ; +0x41, 0x18003d621\nlea     rcx, [rbx-8]; Block                                            ; +0x45, 0x18003d625\ncall    j_j_j_free_0                                                   ; +0x49, 0x18003d629\nlea     rax, [rbx-8]                                                   ; +0x4e, 0x18003d62e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x52, 0x18003d632\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x57, 0x18003d637\nadd     rsp, 20h                                                       ; +0x5c, 0x18003d63c\npop     rdi                                                            ; +0x60, 0x18003d640\nretn                                                                   ; +0x61, 0x18003d641\nadd     rcx, 60h ; '`'                                                 ; +0x62, 0x18003d642\ncall    sub_180005C70                                                  ; +0x66, 0x18003d646\nlea     rax, ??_7CCFiniteTimeAction@cocos2d@@6B@; const cocos2d::CCFiniteTimeAction::`vftable' ; +0x6b, 0x18003d64b\nmov     [rbx], rax                                                     ; +0x72, 0x18003d652\nmov     rcx, rbx; this                                                 ; +0x75, 0x18003d655\ncall    ??1CCAction@cocos2d@@UEAA@XZ; cocos2d::CCAction::~CCAction(void) ; +0x78, 0x18003d658\ntest    esi, esi                                                       ; +0x7d, 0x18003d65d\njz      short loc_18003D66E                                            ; +0x7f, 0x18003d65f\nmov     edx, 90h                                                       ; +0x81, 0x18003d661\nmov     rcx, rbx; Block                                                ; +0x86, 0x18003d666\ncall    j_j_free_0                                                     ; +0x89, 0x18003d669\nmov     rax, rbx                                                       ; +0x8e, 0x18003d66e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x91, 0x18003d671\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x96, 0x18003d676\nadd     rsp, 20h                                                       ; +0x9b, 0x18003d67b\npop     rdi                                                            ; +0x9f, 0x18003d67f\nretn                                                                   ; +0xa0, 0x18003d680", "xrefs": ["cocos2d::CCActionTween::create @ 0x18003d792", "cocos2d::CCActionTween::create @ 0x18003d781", "<???> @ 0x1800f0970", "<???> @ 0x1801bb218"], "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"}