{"type": "func", "start": 6442532720, "end": 6442532902, "name": "cocos2d::extension::CCScrollView::ccTouchEnded", "pseudocode": "// \n// cocos2d::extension::CCScrollView::ccTouchEnded from 0x180013f70 to 0x180014026 (182 bytes)\n// \n// 4 xrefs:\n// > cocos2d::extension::CCTableView::ccTouchEnded @ 0x18001643a\n// > <???> @ 0x1800282e8\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a5cc\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::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        + 41))(\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 0x180013f70 to 0x180014026 (182 bytes)\n; \n; 4 xrefs:\n; > cocos2d::extension::CCTableView::ccTouchEnded @ 0x18001643a\n; > <???> @ 0x1800282e8\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a5cc\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, 0x180013f70\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180013f75\npush    rdi                                                            ; +0xa, 0x180013f7a\nsub     rsp, 20h                                                       ; +0xb, 0x180013f7b\nmov     rax, [rcx-140h]                                                ; +0xf, 0x180013f7f\nmov     rbx, rcx                                                       ; +0x16, 0x180013f86\nadd     rcx, 0FFFFFFFFFFFFFEC0h                                        ; +0x19, 0x180013f89\nmov     rsi, rdx                                                       ; +0x20, 0x180013f90\ncall    qword ptr [rax+148h]                                           ; +0x23, 0x180013f93\ntest    al, al                                                         ; +0x29, 0x180013f99\njz      short loc_180014016                                            ; +0x2b, 0x180013f9b\nmov     rcx, [rbx+0B8h]                                                ; +0x2d, 0x180013f9d\nmov     rdx, rsi                                                       ; +0x34, 0x180013fa4\ncall    cs:?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x37, 0x180013fa7\ntest    al, al                                                         ; +0x3d, 0x180013fad\njz      short loc_180013FFC                                            ; +0x3f, 0x180013faf\nmov     rcx, [rbx+0B8h]                                                ; +0x41, 0x180013fb1\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x48, 0x180013fb8\ncmp     eax, 1                                                         ; +0x4e, 0x180013fbe\njnz     short loc_180013FE9                                            ; +0x51, 0x180013fc1\ncmp     byte ptr [rbx+88h], 0                                          ; +0x53, 0x180013fc3\njz      short loc_180013FE9                                            ; +0x5a, 0x180013fca\ncmp     byte ptr [rbx+0E1h], 0                                         ; +0x5c, 0x180013fcc\njnz     short loc_180013FE9                                            ; +0x63, 0x180013fd3\nlea     rdx, ?deaccelerateScrolling@CCScrollView@extension@cocos2d@@AEAAXM@Z; cocos2d::extension::CCScrollView::deaccelerateScrolling(float) ; +0x65, 0x180013fd5\nlea     rcx, [rbx-140h]                                                ; +0x6c, 0x180013fdc\ncall    cs:?schedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float)) ; +0x73, 0x180013fe3\nmov     rcx, [rbx+0B8h]                                                ; +0x79, 0x180013fe9\nmov     r8b, 1                                                         ; +0x80, 0x180013ff0\nmov     rdx, rsi                                                       ; +0x83, 0x180013ff3\ncall    cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x86, 0x180013ff6\nmov     rcx, [rbx+0B8h]                                                ; +0x8c, 0x180013ffc\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x93, 0x180014003\ntest    eax, eax                                                       ; +0x99, 0x180014009\njnz     short loc_180014016                                            ; +0x9b, 0x18001400b\nmov     [rbx+74h], al                                                  ; +0x9d, 0x18001400d\nmov     [rbx+88h], al                                                  ; +0xa0, 0x180014010\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa6, 0x180014016\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xab, 0x18001401b\nadd     rsp, 20h                                                       ; +0xb0, 0x180014020\npop     rdi                                                            ; +0xb4, 0x180014024\nretn                                                                   ; +0xb5, 0x180014025", "xrefs": ["cocos2d::extension::CCTableView::ccTouchEnded @ 0x18001643a", "<???> @ 0x1800282e8", "<???> @ 0x18002fdf8", "<???> @ 0x18004a5cc"], "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"}