{"type": "func", "start": 6443167616, "end": 6443167814, "name": "cocos2d::CCTMXTilesetInfo::~CCTMXTilesetInfo", "pseudocode": "// \n// cocos2d::CCTMXTilesetInfo::~CCTMXTilesetInfo from 0x1800aef80 to 0x1800af046 (198 bytes)\n// \n// 4 xrefs:\n// > sub_1800AF1A0 @ 0x1800af1fe\n// > sub_1800AF1A0 @ 0x1800af1bc\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8454\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\nvoid __fastcall cocos2d::CCTMXTilesetInfo::~CCTMXTilesetInfo(cocos2d::CCTMXTilesetInfo *this)\n{\n  unsigned __int64 v2; // rdx\n  _QWORD *v3; // rcx\n  unsigned __int64 v4; // rdx\n  void *v5; // rcx\n\n  this->__vftable = (cocos2d::CCTMXTilesetInfo_vtbl *)&cocos2d::CCTMXTilesetInfo::`vftable';\n  v2 = *((_QWORD *)this + 17);\n  if ( v2 > 0xF )\n  {\n    v3 = *((_QWORD **)this + 14);\n    if ( v2 + 1 >= 0x1000 )\n    {\n      if ( (unsigned __int64)v3 - *(v3 - 1) - 8 > 0x1F )\n        goto LABEL_12;\n      v3 = (_QWORD *)*(v3 - 1);\n    }\n    j_j_free_0(v3);\n  }\n  *((_QWORD *)this + 16) = 0;\n  *((_QWORD *)this + 17) = 15;\n  *((_BYTE *)this + 112) = 0;\n  v4 = *((_QWORD *)this + 10);\n  if ( v4 > 0xF )\n  {\n    v5 = *((void **)this + 7);\n    if ( v4 + 1 < 0x1000 )\n    {\nLABEL_10:\n      j_j_free_0(v5);\n      goto LABEL_11;\n    }\n    if ( (unsigned __int64)v5 - *((_QWORD *)v5 - 1) - 8 <= 0x1F )\n    {\n      v5 = *((void **)v5 - 1);\n      goto LABEL_10;\n    }\nLABEL_12:\n    invalid_parameter_noinfo_noreturn();\n  }\nLABEL_11:\n  *((_QWORD *)this + 9) = 0;\n  *((_QWORD *)this + 10) = 15;\n  *((_BYTE *)this + 56) = 0;\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCTMXTilesetInfo::~CCTMXTilesetInfo from 0x1800aef80 to 0x1800af046 (198 bytes)\n; \n; 4 xrefs:\n; > sub_1800AF1A0 @ 0x1800af1fe\n; > sub_1800AF1A0 @ 0x1800af1bc\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8454\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\npush    rbx                                                            ; +0x0, 0x1800aef80\nsub     rsp, 20h                                                       ; +0x2, 0x1800aef82\nlea     rax, ??_7CCTMXTilesetInfo@cocos2d@@6B@; const cocos2d::CCTMXTilesetInfo::`vftable' ; +0x6, 0x1800aef86\nmov     rbx, rcx                                                       ; +0xd, 0x1800aef8d\nmov     [rcx], rax                                                     ; +0x10, 0x1800aef90\nmov     rdx, [rcx+88h]                                                 ; +0x13, 0x1800aef93\ncmp     rdx, 0Fh                                                       ; +0x1a, 0x1800aef9a\njbe     short loc_1800AEFCD                                            ; +0x1e, 0x1800aef9e\nmov     rcx, [rcx+70h]                                                 ; +0x20, 0x1800aefa0\ninc     rdx                                                            ; +0x24, 0x1800aefa4\ncmp     rdx, 1000h                                                     ; +0x27, 0x1800aefa7\njb      short loc_1800AEFC8                                            ; +0x2e, 0x1800aefae\nmov     r8, [rcx-8]                                                    ; +0x30, 0x1800aefb0\nadd     rdx, 27h ; '''                                                 ; +0x34, 0x1800aefb4\nsub     rcx, r8                                                        ; +0x38, 0x1800aefb8\nlea     rax, [rcx-8]                                                   ; +0x3b, 0x1800aefbb\ncmp     rax, 1Fh                                                       ; +0x3f, 0x1800aefbf\nja      short loc_1800AF03F                                            ; +0x43, 0x1800aefc3\nmov     rcx, r8; Block                                                 ; +0x45, 0x1800aefc5\ncall    j_j_free_0                                                     ; +0x48, 0x1800aefc8\nmov     qword ptr [rbx+80h], 0                                         ; +0x4d, 0x1800aefcd\nmov     qword ptr [rbx+88h], 0Fh                                       ; +0x58, 0x1800aefd8\nmov     byte ptr [rbx+70h], 0                                          ; +0x63, 0x1800aefe3\nmov     rdx, [rbx+50h]                                                 ; +0x67, 0x1800aefe7\ncmp     rdx, 0Fh                                                       ; +0x6b, 0x1800aefeb\njbe     short loc_1800AF01E                                            ; +0x6f, 0x1800aefef\nmov     rcx, [rbx+38h]                                                 ; +0x71, 0x1800aeff1\ninc     rdx                                                            ; +0x75, 0x1800aeff5\ncmp     rdx, 1000h                                                     ; +0x78, 0x1800aeff8\njb      short loc_1800AF019                                            ; +0x7f, 0x1800aefff\nmov     r8, [rcx-8]                                                    ; +0x81, 0x1800af001\nadd     rdx, 27h ; '''                                                 ; +0x85, 0x1800af005\nsub     rcx, r8                                                        ; +0x89, 0x1800af009\nlea     rax, [rcx-8]                                                   ; +0x8c, 0x1800af00c\ncmp     rax, 1Fh                                                       ; +0x90, 0x1800af010\nja      short loc_1800AF03F                                            ; +0x94, 0x1800af014\nmov     rcx, r8; Block                                                 ; +0x96, 0x1800af016\ncall    j_j_free_0                                                     ; +0x99, 0x1800af019\nmov     rcx, rbx; this                                                 ; +0x9e, 0x1800af01e\nmov     qword ptr [rbx+48h], 0                                         ; +0xa1, 0x1800af021\nmov     qword ptr [rbx+50h], 0Fh                                       ; +0xa9, 0x1800af029\nmov     byte ptr [rbx+38h], 0                                          ; +0xb1, 0x1800af031\nadd     rsp, 20h                                                       ; +0xb5, 0x1800af035\npop     rbx                                                            ; +0xb9, 0x1800af039\njmp     ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0xba, 0x1800af03a\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0xbf, 0x1800af03f\ndb 0CCh                                                                ; +0xc5, 0x1800af045", "xrefs": ["sub_1800AF1A0 @ 0x1800af1fe", "sub_1800AF1A0 @ 0x1800af1bc", "<???> @ 0x1801438a8", "<???> @ 0x1801b8454"], "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"}