{"type": "func", "start": 6443236272, "end": 6443236434, "name": "sub_1800BFBB0", "pseudocode": "// \n// sub_1800BFBB0 from 0x1800bfbb0 to 0x1800bfc52 (162 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18010d740\n// > <???> @ 0x1801c3324\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:22:24 +0000\n// \n\ncocos2d::CCObject *__fastcall sub_1800BFBB0(cocos2d::CCObject **this, char a2)\n{\n  int v3; // esi\n\n  v3 = a2 & 1;\n  if ( (a2 & 2) != 0 )\n  {\n    sub_1800E49F8(this, 96, *(this - 1), cocos2d::CCConfiguration::~CCConfiguration);\n    if ( v3 )\n      j_j_j_free_0(this - 1);\n    return (cocos2d::CCObject *)(this - 1);\n  }\n  else\n  {\n    *this = (cocos2d::CCObject *)&cocos2d::CCConfiguration::`vftable';\n    cocos2d::CCObject::release(*(this + 11));\n    cocos2d::CCObject::~CCObject((cocos2d::CCObject *)this);\n    if ( v3 )\n      j_j_free_0(this);\n    return (cocos2d::CCObject *)this;\n  }\n}", "assembly": "; \n; sub_1800BFBB0 from 0x1800bfbb0 to 0x1800bfc52 (162 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18010d740\n; > <???> @ 0x1801c3324\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:22:24 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800bfbb0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800bfbb5\npush    rdi                                                            ; +0xa, 0x1800bfbba\nsub     rsp, 20h                                                       ; +0xb, 0x1800bfbbb\nmov     rbx, rcx                                                       ; +0xf, 0x1800bfbbf\nmov     esi, edx                                                       ; +0x12, 0x1800bfbc2\nand     esi, 1                                                         ; +0x14, 0x1800bfbc4\ntest    dl, 2                                                          ; +0x17, 0x1800bfbc7\njz      short loc_1800BFC12                                            ; +0x1a, 0x1800bfbca\nlea     r9, ??1CCConfiguration@cocos2d@@UEAA@XZ; cocos2d::CCConfiguration::~CCConfiguration(void) ; +0x1c, 0x1800bfbcc\nmov     r8, [rcx-8]                                                    ; +0x23, 0x1800bfbd3\nmov     edx, 60h ; '`'                                                 ; +0x27, 0x1800bfbd7\ncall    sub_1800E49F8                                                  ; +0x2c, 0x1800bfbdc\ntest    esi, esi                                                       ; +0x31, 0x1800bfbe1\njz      short loc_1800BFBFE                                            ; +0x33, 0x1800bfbe3\nmov     rcx, [rbx-8]                                                   ; +0x35, 0x1800bfbe5\nlea     rdx, [rcx+rcx*2]                                               ; +0x39, 0x1800bfbe9\nshl     rdx, 5                                                         ; +0x3d, 0x1800bfbed\nadd     rdx, 8                                                         ; +0x41, 0x1800bfbf1\nlea     rcx, [rbx-8]; Block                                            ; +0x45, 0x1800bfbf5\ncall    j_j_j_free_0                                                   ; +0x49, 0x1800bfbf9\nlea     rax, [rbx-8]                                                   ; +0x4e, 0x1800bfbfe\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x52, 0x1800bfc02\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x57, 0x1800bfc07\nadd     rsp, 20h                                                       ; +0x5c, 0x1800bfc0c\npop     rdi                                                            ; +0x60, 0x1800bfc10\nretn                                                                   ; +0x61, 0x1800bfc11\nlea     rax, ??_7CCConfiguration@cocos2d@@6B@; const cocos2d::CCConfiguration::`vftable' ; +0x62, 0x1800bfc12\nmov     [rcx], rax                                                     ; +0x69, 0x1800bfc19\nmov     rcx, [rcx+58h]; this                                           ; +0x6c, 0x1800bfc1c\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x70, 0x1800bfc20\nmov     rcx, rbx; this                                                 ; +0x75, 0x1800bfc25\ncall    ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x78, 0x1800bfc28\nnop                                                                    ; +0x7d, 0x1800bfc2d\ntest    esi, esi                                                       ; +0x7e, 0x1800bfc2e\njz      short loc_1800BFC3F                                            ; +0x80, 0x1800bfc30\nmov     edx, 60h ; '`'                                                 ; +0x82, 0x1800bfc32\nmov     rcx, rbx; Block                                                ; +0x87, 0x1800bfc37\ncall    j_j_free_0                                                     ; +0x8a, 0x1800bfc3a\nmov     rax, rbx                                                       ; +0x8f, 0x1800bfc3f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x92, 0x1800bfc42\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x97, 0x1800bfc47\nadd     rsp, 20h                                                       ; +0x9c, 0x1800bfc4c\npop     rdi                                                            ; +0xa0, 0x1800bfc50\nretn                                                                   ; +0xa1, 0x1800bfc51", "xrefs": ["<???> @ 0x18010d740", "<???> @ 0x1801c3324"], "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"}