{"type": "func", "start": 6442655216, "end": 6442655278, "name": "sub_180031DF0", "pseudocode": "// \n// sub_180031DF0 from 0x180031df0 to 0x180031e2e (62 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1800f0028\n// > <???> @ 0x1801ba4e0\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:33 +0000\n// \n\ncocos2d::CCAction *__fastcall sub_180031DF0(cocos2d::CCAction *Block, char a2)\n{\n  *(_QWORD *)Block = &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_180031DF0 from 0x180031df0 to 0x180031e2e (62 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1800f0028\n; > <???> @ 0x1801ba4e0\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:33 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180031df0\npush    rdi                                                            ; +0x5, 0x180031df5\nsub     rsp, 20h                                                       ; +0x6, 0x180031df6\nlea     rax, ??_7CCFiniteTimeAction@cocos2d@@6B@; const cocos2d::CCFiniteTimeAction::`vftable' ; +0xa, 0x180031dfa\nmov     ebx, edx                                                       ; +0x11, 0x180031e01\nmov     [rcx], rax                                                     ; +0x13, 0x180031e03\nmov     rdi, rcx                                                       ; +0x16, 0x180031e06\ncall    ??1CCAction@cocos2d@@UEAA@XZ; cocos2d::CCAction::~CCAction(void) ; +0x19, 0x180031e09\ntest    bl, 1                                                          ; +0x1e, 0x180031e0e\njz      short loc_180031E20                                            ; +0x21, 0x180031e11\nmov     edx, 58h ; 'X'                                                 ; +0x23, 0x180031e13\nmov     rcx, rdi; Block                                                ; +0x28, 0x180031e18\ncall    j_j_free_0                                                     ; +0x2b, 0x180031e1b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x30, 0x180031e20\nmov     rax, rdi                                                       ; +0x35, 0x180031e25\nadd     rsp, 20h                                                       ; +0x38, 0x180031e28\npop     rdi                                                            ; +0x3c, 0x180031e2c\nretn                                                                   ; +0x3d, 0x180031e2d", "xrefs": ["<???> @ 0x1800f0028", "<???> @ 0x1801ba4e0"], "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"}