{"type": "func", "start": 6442627008, "end": 6442627179, "name": "sub_18002AFC0", "pseudocode": "// \n// sub_18002AFC0 from 0x18002afc0 to 0x18002b06b (171 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCAccelDeccelAmplitude::create @ 0x18002b454\n// > cocos2d::CCAccelDeccelAmplitude::create @ 0x18002b440\n// > <???> @ 0x1800ee5e0\n// > <???> @ 0x1801b9b74\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:31 +0000\n// \n\ncocos2d::CCAction *__fastcall sub_18002AFC0(cocos2d::CCObject **this, char a2)\n{\n  cocos2d::CCObject *v5; // rcx\n\n  if ( (a2 & 2) != 0 )\n  {\n    sub_1800E49F8(this, 112, *(this - 1), cocos2d::CCAccelDeccelAmplitude::~CCAccelDeccelAmplitude);\n    if ( (a2 & 1) != 0 )\n      j_j_j_free_0(this - 1);\n    return (cocos2d::CCAction *)(this - 1);\n  }\n  else\n  {\n    *this = (cocos2d::CCObject *)&cocos2d::CCAccelDeccelAmplitude::`vftable';\n    v5 = *(this + 13);\n    if ( v5 )\n      cocos2d::CCObject::release(v5);\n    *this = (cocos2d::CCObject *)&cocos2d::CCFiniteTimeAction::`vftable';\n    cocos2d::CCAction::~CCAction((cocos2d::CCAction *)this);\n    if ( (a2 & 1) != 0 )\n      j_j_free_0(this);\n    return (cocos2d::CCAction *)this;\n  }\n}", "assembly": "; \n; sub_18002AFC0 from 0x18002afc0 to 0x18002b06b (171 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCAccelDeccelAmplitude::create @ 0x18002b454\n; > cocos2d::CCAccelDeccelAmplitude::create @ 0x18002b440\n; > <???> @ 0x1800ee5e0\n; > <???> @ 0x1801b9b74\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:31 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18002afc0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18002afc5\npush    rdi                                                            ; +0xa, 0x18002afca\nsub     rsp, 20h                                                       ; +0xb, 0x18002afcb\nmov     esi, edx                                                       ; +0xf, 0x18002afcf\nmov     rbx, rcx                                                       ; +0x11, 0x18002afd1\ntest    dl, 2                                                          ; +0x14, 0x18002afd4\njz      short loc_18002B01A                                            ; +0x17, 0x18002afd7\nlea     r9, ??1CCAccelDeccelAmplitude@cocos2d@@UEAA@XZ; cocos2d::CCAccelDeccelAmplitude::~CCAccelDeccelAmplitude(void) ; +0x19, 0x18002afd9\nmov     r8, [rcx-8]                                                    ; +0x20, 0x18002afe0\nmov     edx, 70h ; 'p'                                                 ; +0x24, 0x18002afe4\ncall    sub_1800E49F8                                                  ; +0x29, 0x18002afe9\ntest    sil, 1                                                         ; +0x2e, 0x18002afee\njz      short loc_18002B006                                            ; +0x32, 0x18002aff2\nimul    rdx, [rbx-8], 70h ; 'p'                                        ; +0x34, 0x18002aff4\nadd     rdx, 8                                                         ; +0x39, 0x18002aff9\nlea     rcx, [rbx-8]; Block                                            ; +0x3d, 0x18002affd\ncall    j_j_j_free_0                                                   ; +0x41, 0x18002b001\nlea     rax, [rbx-8]                                                   ; +0x46, 0x18002b006\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4a, 0x18002b00a\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x4f, 0x18002b00f\nadd     rsp, 20h                                                       ; +0x54, 0x18002b014\npop     rdi                                                            ; +0x58, 0x18002b018\nretn                                                                   ; +0x59, 0x18002b019\nlea     rax, ??_7CCAccelDeccelAmplitude@cocos2d@@6B@; const cocos2d::CCAccelDeccelAmplitude::`vftable' ; +0x5a, 0x18002b01a\nmov     [rcx], rax                                                     ; +0x61, 0x18002b021\nmov     rcx, [rcx+68h]; this                                           ; +0x64, 0x18002b024\ntest    rcx, rcx                                                       ; +0x68, 0x18002b028\njz      short loc_18002B032                                            ; +0x6b, 0x18002b02b\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x6d, 0x18002b02d\nlea     rax, ??_7CCFiniteTimeAction@cocos2d@@6B@; const cocos2d::CCFiniteTimeAction::`vftable' ; +0x72, 0x18002b032\nmov     [rbx], rax                                                     ; +0x79, 0x18002b039\nmov     rcx, rbx; this                                                 ; +0x7c, 0x18002b03c\ncall    ??1CCAction@cocos2d@@UEAA@XZ; cocos2d::CCAction::~CCAction(void) ; +0x7f, 0x18002b03f\nnop                                                                    ; +0x84, 0x18002b044\ntest    sil, 1                                                         ; +0x85, 0x18002b045\njz      short loc_18002B058                                            ; +0x89, 0x18002b049\nmov     edx, 70h ; 'p'                                                 ; +0x8b, 0x18002b04b\nmov     rcx, rbx; Block                                                ; +0x90, 0x18002b050\ncall    j_j_free_0                                                     ; +0x93, 0x18002b053\nmov     rax, rbx                                                       ; +0x98, 0x18002b058\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x9b, 0x18002b05b\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xa0, 0x18002b060\nadd     rsp, 20h                                                       ; +0xa5, 0x18002b065\npop     rdi                                                            ; +0xa9, 0x18002b069\nretn                                                                   ; +0xaa, 0x18002b06a", "xrefs": ["cocos2d::CCAccelDeccelAmplitude::create @ 0x18002b454", "cocos2d::CCAccelDeccelAmplitude::create @ 0x18002b440", "<???> @ 0x1800ee5e0", "<???> @ 0x1801b9b74"], "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"}