{"type": "func", "start": 6443229008, "end": 6443229060, "name": "sub_1800BDF50", "pseudocode": "// \n// sub_1800BDF50 from 0x1800bdf50 to 0x1800bdf84 (52 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180107388\n// > <???> @ 0x1801b9144\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::CCDirector *__fastcall sub_1800BDF50(cocos2d::CCDirector *Block, char a2)\n{\n  float v2; // xmm1_4\n\n  cocos2d::CCDirector::~CCDirector(Block, v2);\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(Block);\n  return Block;\n}", "assembly": "; \n; sub_1800BDF50 from 0x1800bdf50 to 0x1800bdf84 (52 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180107388\n; > <???> @ 0x1801b9144\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, 0x1800bdf50\npush    rdi                                                            ; +0x5, 0x1800bdf55\nsub     rsp, 20h                                                       ; +0x6, 0x1800bdf56\nmov     ebx, edx                                                       ; +0xa, 0x1800bdf5a\nmov     rdi, rcx                                                       ; +0xc, 0x1800bdf5c\ncall    ??1CCDirector@cocos2d@@UEAA@XZ; cocos2d::CCDirector::~CCDirector(void) ; +0xf, 0x1800bdf5f\ntest    bl, 1                                                          ; +0x14, 0x1800bdf64\njz      short loc_1800BDF76                                            ; +0x17, 0x1800bdf67\nmov     edx, 198h                                                      ; +0x19, 0x1800bdf69\nmov     rcx, rdi; Block                                                ; +0x1e, 0x1800bdf6e\ncall    j_j_free_0                                                     ; +0x21, 0x1800bdf71\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x26, 0x1800bdf76\nmov     rax, rdi                                                       ; +0x2b, 0x1800bdf7b\nadd     rsp, 20h                                                       ; +0x2e, 0x1800bdf7e\npop     rdi                                                            ; +0x32, 0x1800bdf82\nretn                                                                   ; +0x33, 0x1800bdf83", "xrefs": ["<???> @ 0x180107388", "<???> @ 0x1801b9144"], "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"}