{"type": "func", "start": 6442592352, "end": 6442592529, "name": "cocos2d::CCTiledGrid3D::~CCTiledGrid3D", "pseudocode": "// \n// cocos2d::CCTiledGrid3D::~CCTiledGrid3D from 0x180022860 to 0x180022911 (177 bytes)\n// \n// 4 xrefs:\n// > sub_180022A60 @ 0x180022abe\n// > sub_180022A60 @ 0x180022a7c\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9010\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\nvoid __fastcall cocos2d::CCTiledGrid3D::~CCTiledGrid3D(cocos2d::CCTiledGrid3D *this)\n{\n  void *v2; // rcx\n  void *v3; // rcx\n  void *v4; // rcx\n  void *v5; // rcx\n  cocos2d::CCObject *v6; // rcx\n  cocos2d::CCObject *v7; // rcx\n\n  *(_QWORD *)this = &cocos2d::CCTiledGrid3D::`vftable';\n  v2 = *((void **)this + 15);\n  if ( v2 )\n  {\n    free(v2);\n    *((_QWORD *)this + 15) = 0;\n  }\n  v3 = *((void **)this + 16);\n  if ( v3 )\n  {\n    free(v3);\n    *((_QWORD *)this + 16) = 0;\n  }\n  v4 = *((void **)this + 17);\n  if ( v4 )\n  {\n    free(v4);\n    *((_QWORD *)this + 17) = 0;\n  }\n  v5 = *((void **)this + 18);\n  if ( v5 )\n  {\n    free(v5);\n    *((_QWORD *)this + 18) = 0;\n  }\n  *(_QWORD *)this = &cocos2d::CCGridBase::`vftable';\n  v6 = *((cocos2d::CCObject **)this + 9);\n  if ( v6 )\n    cocos2d::CCObject::release(v6);\n  v7 = *((cocos2d::CCObject **)this + 11);\n  if ( v7 )\n    cocos2d::CCObject::release(v7);\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCTiledGrid3D::~CCTiledGrid3D from 0x180022860 to 0x180022911 (177 bytes)\n; \n; 4 xrefs:\n; > sub_180022A60 @ 0x180022abe\n; > sub_180022A60 @ 0x180022a7c\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9010\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, 0x180022860\npush    rdi                                                            ; +0x5, 0x180022865\nsub     rsp, 20h                                                       ; +0x6, 0x180022866\nmov     rbx, rcx                                                       ; +0xa, 0x18002286a\nlea     rax, ??_7CCTiledGrid3D@cocos2d@@6B@; const cocos2d::CCTiledGrid3D::`vftable' ; +0xd, 0x18002286d\nmov     [rcx], rax                                                     ; +0x14, 0x180022874\nmov     rcx, [rcx+78h]; Block                                          ; +0x17, 0x180022877\nxor     edi, edi                                                       ; +0x1b, 0x18002287b\ntest    rcx, rcx                                                       ; +0x1d, 0x18002287d\njz      short loc_18002288C                                            ; +0x20, 0x180022880\ncall    cs:__imp_free                                                  ; +0x22, 0x180022882\nmov     [rbx+78h], rdi                                                 ; +0x28, 0x180022888\nmov     rcx, [rbx+80h]; Block                                          ; +0x2c, 0x18002288c\ntest    rcx, rcx                                                       ; +0x33, 0x180022893\njz      short loc_1800228A5                                            ; +0x36, 0x180022896\ncall    cs:__imp_free                                                  ; +0x38, 0x180022898\nmov     [rbx+80h], rdi                                                 ; +0x3e, 0x18002289e\nmov     rcx, [rbx+88h]; Block                                          ; +0x45, 0x1800228a5\ntest    rcx, rcx                                                       ; +0x4c, 0x1800228ac\njz      short loc_1800228BE                                            ; +0x4f, 0x1800228af\ncall    cs:__imp_free                                                  ; +0x51, 0x1800228b1\nmov     [rbx+88h], rdi                                                 ; +0x57, 0x1800228b7\nmov     rcx, [rbx+90h]; Block                                          ; +0x5e, 0x1800228be\ntest    rcx, rcx                                                       ; +0x65, 0x1800228c5\njz      short loc_1800228D7                                            ; +0x68, 0x1800228c8\ncall    cs:__imp_free                                                  ; +0x6a, 0x1800228ca\nmov     [rbx+90h], rdi                                                 ; +0x70, 0x1800228d0\nlea     rax, ??_7CCGridBase@cocos2d@@6B@; const cocos2d::CCGridBase::`vftable' ; +0x77, 0x1800228d7\nmov     [rbx], rax                                                     ; +0x7e, 0x1800228de\nmov     rcx, [rbx+48h]; this                                           ; +0x81, 0x1800228e1\ntest    rcx, rcx                                                       ; +0x85, 0x1800228e5\njz      short loc_1800228EF                                            ; +0x88, 0x1800228e8\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x8a, 0x1800228ea\nmov     rcx, [rbx+58h]; this                                           ; +0x8f, 0x1800228ef\ntest    rcx, rcx                                                       ; +0x93, 0x1800228f3\njz      short loc_1800228FD                                            ; +0x96, 0x1800228f6\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x98, 0x1800228f8\nmov     rcx, rbx; this                                                 ; +0x9d, 0x1800228fd\ncall    ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0xa0, 0x180022900\nnop                                                                    ; +0xa5, 0x180022905\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa6, 0x180022906\nadd     rsp, 20h                                                       ; +0xab, 0x18002290b\npop     rdi                                                            ; +0xaf, 0x18002290f\nretn                                                                   ; +0xb0, 0x180022910", "xrefs": ["sub_180022A60 @ 0x180022abe", "sub_180022A60 @ 0x180022a7c", "<???> @ 0x18014cf68", "<???> @ 0x1801b9010"], "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"}