{"type": "func", "start": 6443161264, "end": 6443161355, "name": "sub_1800AD6B0", "pseudocode": "// \n// sub_1800AD6B0 from 0x1800ad6b0 to 0x1800ad70b (91 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18010b838\n// > <???> @ 0x1801c21f0\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:18 +0000\n// \n\ncocos2d::CCObject *__fastcall sub_1800AD6B0(cocos2d::CCObject *this, char a2)\n{\n  cocos2d *v4; // rcx\n\n  *(_QWORD *)this = &cocos2d::CCTexturePVR::`vftable';\n  v4 = (cocos2d *)*((unsigned int *)this + 81);\n  if ( (_DWORD)v4 && !*((_BYTE *)this + 331) )\n    cocos2d::ccGLDeleteTexture(v4);\n  cocos2d::CCObject::~CCObject(this);\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(this);\n  return this;\n}", "assembly": "; \n; sub_1800AD6B0 from 0x1800ad6b0 to 0x1800ad70b (91 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18010b838\n; > <???> @ 0x1801c21f0\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:18 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800ad6b0\npush    rdi                                                            ; +0x5, 0x1800ad6b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800ad6b6\nmov     edi, edx                                                       ; +0xa, 0x1800ad6ba\nmov     rbx, rcx                                                       ; +0xc, 0x1800ad6bc\nlea     rax, ??_7CCTexturePVR@cocos2d@@6B@; const cocos2d::CCTexturePVR::`vftable' ; +0xf, 0x1800ad6bf\nmov     [rcx], rax                                                     ; +0x16, 0x1800ad6c6\nmov     ecx, [rcx+144h]; this                                          ; +0x19, 0x1800ad6c9\ntest    ecx, ecx                                                       ; +0x1f, 0x1800ad6cf\njz      short loc_1800AD6E1                                            ; +0x21, 0x1800ad6d1\ncmp     byte ptr [rbx+14Bh], 0                                         ; +0x23, 0x1800ad6d3\njnz     short loc_1800AD6E1                                            ; +0x2a, 0x1800ad6da\ncall    ?ccGLDeleteTexture@cocos2d@@YAXI@Z; cocos2d::ccGLDeleteTexture(uint) ; +0x2c, 0x1800ad6dc\nmov     rcx, rbx; this                                                 ; +0x31, 0x1800ad6e1\ncall    ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x34, 0x1800ad6e4\nnop                                                                    ; +0x39, 0x1800ad6e9\ntest    dil, 1                                                         ; +0x3a, 0x1800ad6ea\njz      short loc_1800AD6FD                                            ; +0x3e, 0x1800ad6ee\nmov     edx, 158h                                                      ; +0x40, 0x1800ad6f0\nmov     rcx, rbx; Block                                                ; +0x45, 0x1800ad6f5\ncall    j_j_free_0                                                     ; +0x48, 0x1800ad6f8\nmov     rax, rbx                                                       ; +0x4d, 0x1800ad6fd\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x50, 0x1800ad700\nadd     rsp, 20h                                                       ; +0x55, 0x1800ad705\npop     rdi                                                            ; +0x59, 0x1800ad709\nretn                                                                   ; +0x5a, 0x1800ad70a", "xrefs": ["<???> @ 0x18010b838", "<???> @ 0x1801c21f0"], "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"}