{"type": "func", "start": 6442591408, "end": 6442591496, "name": "sub_1800224B0", "pseudocode": "// \n// sub_1800224B0 from 0x1800224b0 to 0x180022508 (88 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1800ed1e0\n// > <???> @ 0x1801b8fa4\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:28 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCObject *__fastcall sub_1800224B0(cocos2d::CCObject *this, char a2)\n{\n  *(_QWORD *)this = &cocos2d::CCGrabber::`vftable';\n  _glewDeleteFramebuffers(1, (char *)this + 56);\n  cocos2d::CCObject::~CCObject(this);\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(this);\n  return this;\n}", "assembly": "; \n; sub_1800224B0 from 0x1800224b0 to 0x180022508 (88 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1800ed1e0\n; > <???> @ 0x1801b8fa4\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:28 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800224b0\npush    rdi                                                            ; +0x5, 0x1800224b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800224b6\nmov     ebx, edx                                                       ; +0xa, 0x1800224ba\nmov     rdi, rcx                                                       ; +0xc, 0x1800224bc\nlea     rax, ??_7CCGrabber@cocos2d@@6B@; const cocos2d::CCGrabber::`vftable' ; +0xf, 0x1800224bf\nmov     [rcx], rax                                                     ; +0x16, 0x1800224c6\nlea     rdx, [rcx+38h]                                                 ; +0x19, 0x1800224c9\nmov     rax, cs:__glewDeleteFramebuffers                               ; +0x1d, 0x1800224cd\nmov     r8, [rax]                                                      ; +0x24, 0x1800224d4\nmov     ecx, 1                                                         ; +0x27, 0x1800224d7\ncall    r8                                                             ; +0x2c, 0x1800224dc\nmov     rcx, rdi; this                                                 ; +0x2f, 0x1800224df\ncall    ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x32, 0x1800224e2\nnop                                                                    ; +0x37, 0x1800224e7\ntest    bl, 1                                                          ; +0x38, 0x1800224e8\njz      short loc_1800224FA                                            ; +0x3b, 0x1800224eb\nmov     edx, 50h ; 'P'                                                 ; +0x3d, 0x1800224ed\nmov     rcx, rdi; Block                                                ; +0x42, 0x1800224f2\ncall    j_j_free_0                                                     ; +0x45, 0x1800224f5\nmov     rax, rdi                                                       ; +0x4a, 0x1800224fa\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x1800224fd\nadd     rsp, 20h                                                       ; +0x52, 0x180022502\npop     rdi                                                            ; +0x56, 0x180022506\nretn                                                                   ; +0x57, 0x180022507", "xrefs": ["<???> @ 0x1800ed1e0", "<???> @ 0x1801b8fa4"], "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"}