{"type": "func", "start": 6442532912, "end": 6442533004, "name": "cocos2d::extension::CCScrollView::ccTouchCancelled", "pseudocode": "// \n// cocos2d::extension::CCScrollView::ccTouchCancelled from 0x180014030 to 0x18001408c (92 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800282f0\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a5d8\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::ccTouchCancelled(\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    cocos2d::CCArray::removeObject(*(this + 23), a2, 1);\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::ccTouchCancelled from 0x180014030 to 0x18001408c (92 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800282f0\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a5d8\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, 0x180014030\npush    rdi                                                            ; +0x5, 0x180014035\nsub     rsp, 20h                                                       ; +0x6, 0x180014036\nmov     rbx, rcx                                                       ; +0xa, 0x18001403a\nmov     rdi, rdx                                                       ; +0xd, 0x18001403d\nadd     rcx, 0FFFFFFFFFFFFFEC0h                                        ; +0x10, 0x180014040\nmov     rax, [rcx]                                                     ; +0x17, 0x180014047\ncall    qword ptr [rax+148h]                                           ; +0x1a, 0x18001404a\ntest    al, al                                                         ; +0x20, 0x180014050\njz      short loc_180014081                                            ; +0x22, 0x180014052\nmov     rcx, [rbx+0B8h]                                                ; +0x24, 0x180014054\nmov     r8b, 1                                                         ; +0x2b, 0x18001405b\nmov     rdx, rdi                                                       ; +0x2e, 0x18001405e\ncall    cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x31, 0x180014061\nmov     rcx, [rbx+0B8h]                                                ; +0x37, 0x180014067\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3e, 0x18001406e\ntest    eax, eax                                                       ; +0x44, 0x180014074\njnz     short loc_180014081                                            ; +0x46, 0x180014076\nmov     [rbx+74h], al                                                  ; +0x48, 0x180014078\nmov     [rbx+88h], al                                                  ; +0x4b, 0x18001407b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x51, 0x180014081\nadd     rsp, 20h                                                       ; +0x56, 0x180014086\npop     rdi                                                            ; +0x5a, 0x18001408a\nretn                                                                   ; +0x5b, 0x18001408b", "xrefs": ["<???> @ 0x1800282f0", "<???> @ 0x18002fdf8", "<???> @ 0x18004a5d8"], "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"}