{"type": "func", "start": 6442653584, "end": 6442653646, "name": "sub_180031790", "pseudocode": "// \n// sub_180031790 from 0x180031790 to 0x1800317ce (62 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1800e9fc8\n// > <???> @ 0x1801b03c0\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::CCAction *__fastcall sub_180031790(cocos2d::CCAction *Block, char a2)\n{\n  Block->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCFiniteTimeAction::`vftable';\n  cocos2d::CCAction::~CCAction(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(Block);\n  return Block;\n}", "assembly": "; \n; sub_180031790 from 0x180031790 to 0x1800317ce (62 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1800e9fc8\n; > <???> @ 0x1801b03c0\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, 0x180031790\npush    rdi                                                            ; +0x5, 0x180031795\nsub     rsp, 20h                                                       ; +0x6, 0x180031796\nlea     rax, ??_7CCFiniteTimeAction@cocos2d@@6B@; const cocos2d::CCFiniteTimeAction::`vftable' ; +0xa, 0x18003179a\nmov     ebx, edx                                                       ; +0x11, 0x1800317a1\nmov     [rcx], rax                                                     ; +0x13, 0x1800317a3\nmov     rdi, rcx                                                       ; +0x16, 0x1800317a6\ncall    ??1CCAction@cocos2d@@UEAA@XZ; cocos2d::CCAction::~CCAction(void) ; +0x19, 0x1800317a9\ntest    bl, 1                                                          ; +0x1e, 0x1800317ae\njz      short loc_1800317C0                                            ; +0x21, 0x1800317b1\nmov     edx, 58h ; 'X'                                                 ; +0x23, 0x1800317b3\nmov     rcx, rdi; Block                                                ; +0x28, 0x1800317b8\ncall    j_j_free_0                                                     ; +0x2b, 0x1800317bb\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x30, 0x1800317c0\nmov     rax, rdi                                                       ; +0x35, 0x1800317c5\nadd     rsp, 20h                                                       ; +0x38, 0x1800317c8\npop     rdi                                                            ; +0x3c, 0x1800317cc\nretn                                                                   ; +0x3d, 0x1800317cd", "xrefs": ["<???> @ 0x1800e9fc8", "<???> @ 0x1801b03c0"], "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"}