{"type": "func", "start": 6442601872, "end": 6442602021, "name": "sub_180024D90", "pseudocode": "// \n// sub_180024D90 from 0x180024d90 to 0x180024e25 (149 bytes)\n// \n// 10 xrefs:\n// > <???> @ 0x1800ed580\n// > <???> @ 0x1800ee7c0\n// > <???> @ 0x1800eef90\n// > <???> @ 0x1800ef008\n// > <???> @ 0x1800ef080\n// > <???> @ 0x1800ef0f8\n// > <???> @ 0x1800efbf0\n// > <???> @ 0x1800efc68\n// > <???> @ 0x1800efe48\n// > <???> @ 0x1801b92d4\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:29 +0000\n// \n\ncocos2d::CCAction *__fastcall sub_180024D90(cocos2d::CCAction *Block, char a2)\n{\n  int v3; // edi\n\n  v3 = a2 & 1;\n  if ( (a2 & 2) != 0 )\n  {\n    sub_1800E49F8(Block, 96, *((_QWORD *)Block - 1), cocos2d::CCWavesTiles3D::~CCWavesTiles3D);\n    if ( v3 )\n      j_j_j_free_0((char *)Block - 8);\n    return (cocos2d::CCAction *)((char *)Block - 8);\n  }\n  else\n  {\n    *(_QWORD *)Block = &cocos2d::CCFiniteTimeAction::`vftable';\n    cocos2d::CCAction::~CCAction(Block);\n    if ( v3 )\n      j_j_free_0(Block);\n    return Block;\n  }\n}", "assembly": "; \n; sub_180024D90 from 0x180024d90 to 0x180024e25 (149 bytes)\n; \n; 10 xrefs:\n; > <???> @ 0x1800ed580\n; > <???> @ 0x1800ee7c0\n; > <???> @ 0x1800eef90\n; > <???> @ 0x1800ef008\n; > <???> @ 0x1800ef080\n; > <???> @ 0x1800ef0f8\n; > <???> @ 0x1800efbf0\n; > <???> @ 0x1800efc68\n; > <???> @ 0x1800efe48\n; > <???> @ 0x1801b92d4\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:29 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180024d90\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180024d95\npush    rdi                                                            ; +0xa, 0x180024d9a\nsub     rsp, 20h                                                       ; +0xb, 0x180024d9b\nmov     rbx, rcx                                                       ; +0xf, 0x180024d9f\nmov     edi, edx                                                       ; +0x12, 0x180024da2\nand     edi, 1                                                         ; +0x14, 0x180024da4\ntest    dl, 2                                                          ; +0x17, 0x180024da7\njz      short loc_180024DF2                                            ; +0x1a, 0x180024daa\nlea     r9, ??1CCWavesTiles3D@cocos2d@@UEAA@XZ; cocos2d::CCWavesTiles3D::~CCWavesTiles3D(void) ; +0x1c, 0x180024dac\nmov     r8, [rcx-8]                                                    ; +0x23, 0x180024db3\nmov     edx, 60h ; '`'                                                 ; +0x27, 0x180024db7\ncall    sub_1800E49F8                                                  ; +0x2c, 0x180024dbc\ntest    edi, edi                                                       ; +0x31, 0x180024dc1\njz      short loc_180024DDE                                            ; +0x33, 0x180024dc3\nmov     rcx, [rbx-8]                                                   ; +0x35, 0x180024dc5\nlea     rdx, [rcx+rcx*2]                                               ; +0x39, 0x180024dc9\nshl     rdx, 5                                                         ; +0x3d, 0x180024dcd\nadd     rdx, 8                                                         ; +0x41, 0x180024dd1\nlea     rcx, [rbx-8]; Block                                            ; +0x45, 0x180024dd5\ncall    j_j_j_free_0                                                   ; +0x49, 0x180024dd9\nlea     rax, [rbx-8]                                                   ; +0x4e, 0x180024dde\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x52, 0x180024de2\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x57, 0x180024de7\nadd     rsp, 20h                                                       ; +0x5c, 0x180024dec\npop     rdi                                                            ; +0x60, 0x180024df0\nretn                                                                   ; +0x61, 0x180024df1\nlea     rax, ??_7CCFiniteTimeAction@cocos2d@@6B@; const cocos2d::CCFiniteTimeAction::`vftable' ; +0x62, 0x180024df2\nmov     [rcx], rax                                                     ; +0x69, 0x180024df9\ncall    ??1CCAction@cocos2d@@UEAA@XZ; cocos2d::CCAction::~CCAction(void) ; +0x6c, 0x180024dfc\ntest    edi, edi                                                       ; +0x71, 0x180024e01\njz      short loc_180024E12                                            ; +0x73, 0x180024e03\nmov     edx, 60h ; '`'                                                 ; +0x75, 0x180024e05\nmov     rcx, rbx; Block                                                ; +0x7a, 0x180024e0a\ncall    j_j_free_0                                                     ; +0x7d, 0x180024e0d\nmov     rax, rbx                                                       ; +0x82, 0x180024e12\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x85, 0x180024e15\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x8a, 0x180024e1a\nadd     rsp, 20h                                                       ; +0x8f, 0x180024e1f\npop     rdi                                                            ; +0x93, 0x180024e23\nretn                                                                   ; +0x94, 0x180024e24", "xrefs": ["<???> @ 0x1800ed580", "<???> @ 0x1800ee7c0", "<???> @ 0x1800eef90", "<???> @ 0x1800ef008", "<???> @ 0x1800ef080", "<???> @ 0x1800ef0f8", "<???> @ 0x1800efbf0", "<???> @ 0x1800efc68", "<???> @ 0x1800efe48", "<???> @ 0x1801b92d4"], "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"}