{"type": "func", "start": 6442525328, "end": 6442525488, "name": "cocos2d::extension::CCScrollView::~CCScrollView", "pseudocode": "// \n// cocos2d::extension::CCScrollView::~CCScrollView from 0x180012290 to 0x180012330 (160 bytes)\n// \n// 7 xrefs:\n// > sub_180014440 @ 0x18001449e\n// > cocos2d::extension::CCTableView::~CCTableView @ 0x18001502c\n// > sub_180021070 @ 0x180021077\n// > sub_180014440 @ 0x18001445c\n// > <???> @ 0x18002f7c3\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a320\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::extension::CCScrollView::~CCScrollView(cocos2d::extension::CCScrollView *this)\n{\n  cocos2d::CCObject *v2; // rcx\n\n  *(_QWORD *)this = &cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCTouchDelegate'};\n  *((_QWORD *)this + 41) = &cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCAccelerometerDelegate'};\n  *((_QWORD *)this + 42) = &cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCKeypadDelegate'};\n  *((_QWORD *)this + 43) = &cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCKeyboardDelegate'};\n  *((_QWORD *)this + 44) = &cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCMouseDelegate'};\n  v2 = *((cocos2d::CCObject **)this + 63);\n  if ( v2 )\n    cocos2d::CCObject::release(v2);\n  cocos2d::extension::CCScrollView::unregisterScriptHandler(this, 0);\n  cocos2d::extension::CCScrollView::unregisterScriptHandler(this, 1);\n  sub_1800055E0((void **)this + 69, (__int64)this + 552);\n  cocos2d::CCLayer::~CCLayer(this);\n}", "assembly": "; \n; cocos2d::extension::CCScrollView::~CCScrollView from 0x180012290 to 0x180012330 (160 bytes)\n; \n; 7 xrefs:\n; > sub_180014440 @ 0x18001449e\n; > cocos2d::extension::CCTableView::~CCTableView @ 0x18001502c\n; > sub_180021070 @ 0x180021077\n; > sub_180014440 @ 0x18001445c\n; > <???> @ 0x18002f7c3\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a320\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, 0x180012290\nsub     rsp, 20h                                                       ; +0x2, 0x180012292\nmov     rbx, rcx                                                       ; +0x6, 0x180012296\nlea     rax, ??_7CCScrollView@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCNode'} ; +0x9, 0x180012299\nmov     [rcx], rax                                                     ; +0x10, 0x1800122a0\nlea     rax, ??_7CCScrollView@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x13, 0x1800122a3\nmov     [rcx+140h], rax                                                ; +0x1a, 0x1800122aa\nlea     rax, ??_7CCScrollView@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x21, 0x1800122b1\nmov     [rcx+148h], rax                                                ; +0x28, 0x1800122b8\nlea     rax, ??_7CCScrollView@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x2f, 0x1800122bf\nmov     [rcx+150h], rax                                                ; +0x36, 0x1800122c6\nlea     rax, ??_7CCScrollView@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x3d, 0x1800122cd\nmov     [rcx+158h], rax                                                ; +0x44, 0x1800122d4\nlea     rax, ??_7CCScrollView@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCScrollView::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x4b, 0x1800122db\nmov     [rcx+160h], rax                                                ; +0x52, 0x1800122e2\nmov     rcx, [rcx+1F8h]                                                ; +0x59, 0x1800122e9\ntest    rcx, rcx                                                       ; +0x60, 0x1800122f0\njz      short loc_1800122FB                                            ; +0x63, 0x1800122f3\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x65, 0x1800122f5\nxor     edx, edx; int                                                  ; +0x6b, 0x1800122fb\nmov     rcx, rbx; this                                                 ; +0x6d, 0x1800122fd\ncall    ?unregisterScriptHandler@CCScrollView@extension@cocos2d@@QEAAXH@Z; cocos2d::extension::CCScrollView::unregisterScriptHandler(int) ; +0x70, 0x180012300\nmov     edx, 1; int                                                    ; +0x75, 0x180012305\nmov     rcx, rbx; this                                                 ; +0x7a, 0x18001230a\ncall    ?unregisterScriptHandler@CCScrollView@extension@cocos2d@@QEAAXH@Z; cocos2d::extension::CCScrollView::unregisterScriptHandler(int) ; +0x7d, 0x18001230d\nlea     rcx, [rbx+228h]                                                ; +0x82, 0x180012312\nmov     rdx, rcx                                                       ; +0x89, 0x180012319\ncall    sub_1800055E0                                                  ; +0x8c, 0x18001231c\nmov     rcx, rbx                                                       ; +0x91, 0x180012321\nadd     rsp, 20h                                                       ; +0x94, 0x180012324\npop     rbx                                                            ; +0x98, 0x180012328\njmp     cs:__imp_??1CCLayer@cocos2d@@UEAA@XZ; cocos2d::CCLayer::~CCLayer(void) ; +0x99, 0x180012329", "xrefs": ["sub_180014440 @ 0x18001449e", "cocos2d::extension::CCTableView::~CCTableView @ 0x18001502c", "sub_180021070 @ 0x180021077", "sub_180014440 @ 0x18001445c", "<???> @ 0x18002f7c3", "<???> @ 0x18002fdf8", "<???> @ 0x18004a320"], "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"}