{"type": "func", "start": 6442531616, "end": 6442531798, "name": "cocos2d::extension::CCScrollView::ccTouchEnded", "pseudocode": "// \n// cocos2d::extension::CCScrollView::ccTouchEnded from 0x180013b20 to 0x180013bd6 (182 bytes)\n// \n// 4 xrefs:\n// > cocos2d::extension::CCTableView::ccTouchEnded @ 0x1800160aa\n// > <???> @ 0x18002a970\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c500\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 12:15:40 +0000\n// \n\nvoid __fastcall cocos2d::extension::CCScrollView::ccTouchEnded(\n        cocos2d::CCArray **this,\n        struct cocos2d::CCTouch *a2,\n        struct cocos2d::CCEvent *a3)\n{\n  if ( (*((unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))*(this - 40)\n        + 43))(\n         (char *)this - 320,\n         a2,\n         a3) )\n  {\n    if ( cocos2d::CCArray::containsObject(*(this + 23), a2) )\n    {\n      if ( cocos2d::CCArray::count(*(this + 23)) == 1 && *((_BYTE *)this + 136) && !*((_BYTE *)this + 225) )\n        cocos2d::CCNode::schedule(this - 40, cocos2d::extension::CCScrollView::deaccelerateScrolling);\n      cocos2d::CCArray::removeObject(*(this + 23), a2, 1);\n    }\n    if ( !cocos2d::CCArray::count(*(this + 23)) )\n    {\n      *((_BYTE *)this + 116) = 0;\n      *((_BYTE *)this + 136) = 0;\n    }\n  }\n}", "assembly": "; \n; cocos2d::extension::CCScrollView::ccTouchEnded from 0x180013b20 to 0x180013bd6 (182 bytes)\n; \n; 4 xrefs:\n; > cocos2d::extension::CCTableView::ccTouchEnded @ 0x1800160aa\n; > <???> @ 0x18002a970\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c500\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 12:15:40 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180013b20\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180013b25\npush    rdi                                                            ; +0xa, 0x180013b2a\nsub     rsp, 20h                                                       ; +0xb, 0x180013b2b\nmov     rax, [rcx-140h]                                                ; +0xf, 0x180013b2f\nmov     rbx, rcx                                                       ; +0x16, 0x180013b36\nadd     rcx, 0FFFFFFFFFFFFFEC0h                                        ; +0x19, 0x180013b39\nmov     rsi, rdx                                                       ; +0x20, 0x180013b40\ncall    qword ptr [rax+158h]                                           ; +0x23, 0x180013b43\ntest    al, al                                                         ; +0x29, 0x180013b49\njz      short loc_180013BC6                                            ; +0x2b, 0x180013b4b\nmov     rcx, [rbx+0B8h]                                                ; +0x2d, 0x180013b4d\nmov     rdx, rsi                                                       ; +0x34, 0x180013b54\ncall    cs:?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x37, 0x180013b57\ntest    al, al                                                         ; +0x3d, 0x180013b5d\njz      short loc_180013BAC                                            ; +0x3f, 0x180013b5f\nmov     rcx, [rbx+0B8h]                                                ; +0x41, 0x180013b61\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x48, 0x180013b68\ncmp     eax, 1                                                         ; +0x4e, 0x180013b6e\njnz     short loc_180013B99                                            ; +0x51, 0x180013b71\ncmp     byte ptr [rbx+88h], 0                                          ; +0x53, 0x180013b73\njz      short loc_180013B99                                            ; +0x5a, 0x180013b7a\ncmp     byte ptr [rbx+0E1h], 0                                         ; +0x5c, 0x180013b7c\njnz     short loc_180013B99                                            ; +0x63, 0x180013b83\nlea     rdx, ?deaccelerateScrolling@CCScrollView@extension@cocos2d@@AEAAXM@Z; cocos2d::extension::CCScrollView::deaccelerateScrolling(float) ; +0x65, 0x180013b85\nlea     rcx, [rbx-140h]                                                ; +0x6c, 0x180013b8c\ncall    cs:?schedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float)) ; +0x73, 0x180013b93\nmov     rcx, [rbx+0B8h]                                                ; +0x79, 0x180013b99\nmov     r8b, 1                                                         ; +0x80, 0x180013ba0\nmov     rdx, rsi                                                       ; +0x83, 0x180013ba3\ncall    cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x86, 0x180013ba6\nmov     rcx, [rbx+0B8h]                                                ; +0x8c, 0x180013bac\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x93, 0x180013bb3\ntest    eax, eax                                                       ; +0x99, 0x180013bb9\njnz     short loc_180013BC6                                            ; +0x9b, 0x180013bbb\nmov     [rbx+74h], al                                                  ; +0x9d, 0x180013bbd\nmov     [rbx+88h], al                                                  ; +0xa0, 0x180013bc0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa6, 0x180013bc6\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xab, 0x180013bcb\nadd     rsp, 20h                                                       ; +0xb0, 0x180013bd0\npop     rdi                                                            ; +0xb4, 0x180013bd4\nretn                                                                   ; +0xb5, 0x180013bd5", "xrefs": ["cocos2d::extension::CCTableView::ccTouchEnded @ 0x1800160aa", "<???> @ 0x18002a970", "<???> @ 0x180032408", "<???> @ 0x18004c500"], "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"}