{"type": "func", "start": 6443065328, "end": 6443065442, "name": "cocos2d::CCComponent::~CCComponent", "pseudocode": "// \n// cocos2d::CCComponent::~CCComponent from 0x180095ff0 to 0x180096062 (114 bytes)\n// \n// 4 xrefs:\n// > sub_180096070 @ 0x1800960cb\n// > sub_180096070 @ 0x18009608c\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b68a0\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::CCComponent::~CCComponent(cocos2d::CCComponent *this)\n{\n  std::size_t m_capacity; // rdx\n  char *m_bigStorage; // rcx\n\n  this->__vftable = (cocos2d::CCComponent_vtbl *)&cocos2d::CCComponent::`vftable';\n  m_capacity = this->m_strName.m_data.m_capacity;\n  if ( m_capacity > 0xF )\n  {\n    m_bigStorage = this->m_strName.m_data.m_bigStorage;\n    if ( m_capacity + 1 >= 0x1000 )\n    {\n      if ( (unsigned __int64)&m_bigStorage[-*((_QWORD *)m_bigStorage - 1) - 8] > 0x1F )\n        invalid_parameter_noinfo_noreturn();\n      m_bigStorage = *((char **)m_bigStorage - 1);\n    }\n    j_j_free_0(m_bigStorage);\n  }\n  this->m_strName.m_data.m_size = 0;\n  this->m_strName.m_data.m_capacity = 15;\n  this->m_strName.m_data.m_smallStorage._Elems[0] = 0;\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCComponent::~CCComponent from 0x180095ff0 to 0x180096062 (114 bytes)\n; \n; 4 xrefs:\n; > sub_180096070 @ 0x1800960cb\n; > sub_180096070 @ 0x18009608c\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b68a0\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, 0x180095ff0\nsub     rsp, 20h                                                       ; +0x2, 0x180095ff2\nlea     rax, ??_7CCComponent@cocos2d@@6B@; const cocos2d::CCComponent::`vftable' ; +0x6, 0x180095ff6\nmov     rbx, rcx                                                       ; +0xd, 0x180095ffd\nmov     [rcx], rax                                                     ; +0x10, 0x180096000\nmov     rdx, [rcx+58h]                                                 ; +0x13, 0x180096003\ncmp     rdx, 0Fh                                                       ; +0x17, 0x180096007\njbe     short loc_18009603A                                            ; +0x1b, 0x18009600b\nmov     rcx, [rcx+40h]                                                 ; +0x1d, 0x18009600d\ninc     rdx                                                            ; +0x21, 0x180096011\ncmp     rdx, 1000h                                                     ; +0x24, 0x180096014\njb      short loc_180096035                                            ; +0x2b, 0x18009601b\nmov     r8, [rcx-8]                                                    ; +0x2d, 0x18009601d\nadd     rdx, 27h ; '''                                                 ; +0x31, 0x180096021\nsub     rcx, r8                                                        ; +0x35, 0x180096025\nlea     rax, [rcx-8]                                                   ; +0x38, 0x180096028\ncmp     rax, 1Fh                                                       ; +0x3c, 0x18009602c\nja      short loc_18009605B                                            ; +0x40, 0x180096030\nmov     rcx, r8; Block                                                 ; +0x42, 0x180096032\ncall    j_j_free_0                                                     ; +0x45, 0x180096035\nmov     rcx, rbx; this                                                 ; +0x4a, 0x18009603a\nmov     qword ptr [rbx+50h], 0                                         ; +0x4d, 0x18009603d\nmov     qword ptr [rbx+58h], 0Fh                                       ; +0x55, 0x180096045\nmov     byte ptr [rbx+40h], 0                                          ; +0x5d, 0x18009604d\nadd     rsp, 20h                                                       ; +0x61, 0x180096051\npop     rbx                                                            ; +0x65, 0x180096055\njmp     ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x66, 0x180096056\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x6b, 0x18009605b\ndb 0CCh                                                                ; +0x71, 0x180096061", "xrefs": ["sub_180096070 @ 0x1800960cb", "sub_180096070 @ 0x18009608c", "<???> @ 0x1801438a8", "<???> @ 0x1801b68a0"], "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"}