{"type": "func", "start": 6442512112, "end": 6442512199, "name": "cocos2d::CCSet::~CCSet", "pseudocode": "// \n// cocos2d::CCSet::~CCSet from 0x18000eef0 to 0x18000ef47 (87 bytes)\n// \n// 13 xrefs:\n// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x18006bb67\n// > cocos2d::CCEGLViewProtocol::handleTouchesCancel @ 0x18006bc19\n// > cocos2d::CCEGLViewProtocol::handleTouchesEnd @ 0x18006bcb9\n// > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0x18006be3d\n// > sub_1800E26E0 @ 0x1800e26e7\n// > sub_1800E2740 @ 0x1800e2747\n// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e2757\n// > sub_18000EF50 @ 0x18000ef69\n// > <???> @ 0x18013a2a7\n// > <???> @ 0x18013a313\n// > <???> @ 0x18013a347\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801adfc0\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::CCSet::~CCSet(cocos2d::CCSet *this)\n{\n  std::set<cocos2d::CCObject *> *m_pSet; // rdi\n\n  this->__vftable = (cocos2d::CCSet_vtbl *)&cocos2d::CCSet::`vftable';\n  cocos2d::CCSet::removeAllObjects(this);\n  m_pSet = this->m_pSet;\n  if ( m_pSet )\n  {\n    sub_18000EBC0((void **)&this->m_pSet->_Mypair._Myval2._Myval2._Myhead, (__int64)this->m_pSet);\n    j_j_free_0(m_pSet);\n    this->m_pSet = nullptr;\n  }\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCSet::~CCSet from 0x18000eef0 to 0x18000ef47 (87 bytes)\n; \n; 13 xrefs:\n; > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x18006bb67\n; > cocos2d::CCEGLViewProtocol::handleTouchesCancel @ 0x18006bc19\n; > cocos2d::CCEGLViewProtocol::handleTouchesEnd @ 0x18006bcb9\n; > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0x18006be3d\n; > sub_1800E26E0 @ 0x1800e26e7\n; > sub_1800E2740 @ 0x1800e2747\n; > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e2757\n; > sub_18000EF50 @ 0x18000ef69\n; > <???> @ 0x18013a2a7\n; > <???> @ 0x18013a313\n; > <???> @ 0x18013a347\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801adfc0\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18000eef0\npush    rdi                                                            ; +0x5, 0x18000eef5\nsub     rsp, 20h                                                       ; +0x6, 0x18000eef6\nmov     rbx, rcx                                                       ; +0xa, 0x18000eefa\nlea     rax, ??_7CCSet@cocos2d@@6B@; const cocos2d::CCSet::`vftable'   ; +0xd, 0x18000eefd\nmov     [rcx], rax                                                     ; +0x14, 0x18000ef04\ncall    ?removeAllObjects@CCSet@cocos2d@@QEAAXXZ; cocos2d::CCSet::removeAllObjects(void) ; +0x17, 0x18000ef07\nmov     rdi, [rbx+38h]                                                 ; +0x1c, 0x18000ef0c\ntest    rdi, rdi                                                       ; +0x20, 0x18000ef10\njz      short loc_18000EF35                                            ; +0x23, 0x18000ef13\nmov     rdx, rdi                                                       ; +0x25, 0x18000ef15\nmov     rcx, rdi                                                       ; +0x28, 0x18000ef18\ncall    sub_18000EBC0                                                  ; +0x2b, 0x18000ef1b\nmov     edx, 10h                                                       ; +0x30, 0x18000ef20\nmov     rcx, rdi; Block                                                ; +0x35, 0x18000ef25\ncall    j_j_free_0                                                     ; +0x38, 0x18000ef28\nmov     qword ptr [rbx+38h], 0                                         ; +0x3d, 0x18000ef2d\nmov     rcx, rbx; this                                                 ; +0x45, 0x18000ef35\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x18000ef38\nadd     rsp, 20h                                                       ; +0x4d, 0x18000ef3d\npop     rdi                                                            ; +0x51, 0x18000ef41\njmp     ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x52, 0x18000ef42", "xrefs": ["cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x18006bb67", "cocos2d::CCEGLViewProtocol::handleTouchesCancel @ 0x18006bc19", "cocos2d::CCEGLViewProtocol::handleTouchesEnd @ 0x18006bcb9", "cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0x18006be3d", "sub_1800E26E0 @ 0x1800e26e7", "sub_1800E2740 @ 0x1800e2747", "int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e2757", "sub_18000EF50 @ 0x18000ef69", "<???> @ 0x18013a2a7", "<???> @ 0x18013a313", "<???> @ 0x18013a347", "<???> @ 0x1801438a8", "<???> @ 0x1801adfc0"], "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"}