{"type": "func", "start": 6443168912, "end": 6443169077, "name": "cocos2d::CCTMXLayer::~CCTMXLayer", "pseudocode": "// \n// cocos2d::CCTMXLayer::~CCTMXLayer from 0x1800af490 to 0x1800af535 (165 bytes)\n// \n// 4 xrefs:\n// > sub_1800AF540 @ 0x1800af59e\n// > sub_1800AF540 @ 0x1800af55c\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2364\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:19 +0000\n// \n\nvoid __fastcall cocos2d::CCTMXLayer::~CCTMXLayer(cocos2d::CCTMXLayer *this)\n{\n  cocos2d::CCObject *v2; // rcx\n  cocos2d::CCObject *v3; // rcx\n  cocos2d::CCObject *v4; // rcx\n  void **v5; // rcx\n  void *v6; // rcx\n\n  *(_QWORD *)this = &cocos2d::CCTMXLayer::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::CCTMXLayer::`vftable'{for `cocos2d::CCTextureProtocol'};\n  v2 = *((cocos2d::CCObject **)this + 48);\n  if ( v2 )\n    cocos2d::CCObject::release(v2);\n  v3 = *((cocos2d::CCObject **)this + 58);\n  if ( v3 )\n    cocos2d::CCObject::release(v3);\n  v4 = *((cocos2d::CCObject **)this + 50);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  v5 = *((void ***)this + 59);\n  if ( v5 )\n  {\n    sub_1800A1E70(v5);\n    *((_QWORD *)this + 59) = 0;\n  }\n  v6 = *((void **)this + 47);\n  if ( v6 )\n  {\n    j_j_free_0(v6);\n    *((_QWORD *)this + 47) = 0;\n  }\n  sub_180005C70((__int64)this + 408);\n  cocos2d::CCSpriteBatchNode::~CCSpriteBatchNode(this);\n}", "assembly": "; \n; cocos2d::CCTMXLayer::~CCTMXLayer from 0x1800af490 to 0x1800af535 (165 bytes)\n; \n; 4 xrefs:\n; > sub_1800AF540 @ 0x1800af59e\n; > sub_1800AF540 @ 0x1800af55c\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2364\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:19 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800af490\nsub     rsp, 20h                                                       ; +0x2, 0x1800af492\nmov     rbx, rcx                                                       ; +0x6, 0x1800af496\nlea     rax, ??_7CCTMXLayer@cocos2d@@6BCCNode@1@@; const cocos2d::CCTMXLayer::`vftable'{for `cocos2d::CCNode'} ; +0x9, 0x1800af499\nmov     [rcx], rax                                                     ; +0x10, 0x1800af4a0\nlea     rax, ??_7CCTMXLayer@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCTMXLayer::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x13, 0x1800af4a3\nmov     [rcx+140h], rax                                                ; +0x1a, 0x1800af4aa\nmov     rcx, [rcx+180h]; this                                          ; +0x21, 0x1800af4b1\ntest    rcx, rcx                                                       ; +0x28, 0x1800af4b8\njz      short loc_1800AF4C2                                            ; +0x2b, 0x1800af4bb\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2d, 0x1800af4bd\nmov     rcx, [rbx+1D0h]; this                                          ; +0x32, 0x1800af4c2\ntest    rcx, rcx                                                       ; +0x39, 0x1800af4c9\njz      short loc_1800AF4D3                                            ; +0x3c, 0x1800af4cc\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x3e, 0x1800af4ce\nmov     rcx, [rbx+190h]; this                                          ; +0x43, 0x1800af4d3\ntest    rcx, rcx                                                       ; +0x4a, 0x1800af4da\njz      short loc_1800AF4E4                                            ; +0x4d, 0x1800af4dd\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x4f, 0x1800af4df\nmov     rcx, [rbx+1D8h]; Block                                         ; +0x54, 0x1800af4e4\ntest    rcx, rcx                                                       ; +0x5b, 0x1800af4eb\njz      short loc_1800AF500                                            ; +0x5e, 0x1800af4ee\ncall    sub_1800A1E70                                                  ; +0x60, 0x1800af4f0\nmov     qword ptr [rbx+1D8h], 0                                        ; +0x65, 0x1800af4f5\nmov     rcx, [rbx+178h]; Block                                         ; +0x70, 0x1800af500\ntest    rcx, rcx                                                       ; +0x77, 0x1800af507\njz      short loc_1800AF51C                                            ; +0x7a, 0x1800af50a\ncall    j_j_free_0                                                     ; +0x7c, 0x1800af50c\nmov     qword ptr [rbx+178h], 0                                        ; +0x81, 0x1800af511\nlea     rcx, [rbx+198h]                                                ; +0x8c, 0x1800af51c\ncall    sub_180005C70                                                  ; +0x93, 0x1800af523\nmov     rcx, rbx; this                                                 ; +0x98, 0x1800af528\nadd     rsp, 20h                                                       ; +0x9b, 0x1800af52b\npop     rbx                                                            ; +0x9f, 0x1800af52f\njmp     ??1CCSpriteBatchNode@cocos2d@@UEAA@XZ; cocos2d::CCSpriteBatchNode::~CCSpriteBatchNode(void) ; +0xa0, 0x1800af530", "xrefs": ["sub_1800AF540 @ 0x1800af59e", "sub_1800AF540 @ 0x1800af55c", "<???> @ 0x18014cf68", "<???> @ 0x1801c2364"], "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"}