{"type": "func", "start": 6858660, "end": 6858816, "name": "BoomScrollLayer::cancelAndStoleTouch", "pseudocode": "// \n// BoomScrollLayer::cancelAndStoleTouch from 0x68a7a4 to 0x68a840 (156 bytes)\n// \n// 2 xrefs:\n// > BoomScrollLayer::ccTouchMoved @ 0x68aa58\n// > <???> @ 0xbe648\n// \n// This function is hookable on this platform (idp: arm, 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:50:32 +0000\n// \n\n__int64 __fastcall BoomScrollLayer::cancelAndStoleTouch(BoomScrollLayer *a1, cocos2d::CCObject *a2, __int64 a3)\n{\n  cocos2d::CCSet *v6; // x19\n  __int64 v7; // x0\n  __int64 v8; // x0\n\n  v6 = (cocos2d::CCSet *)operator new(0x40u);\n  cocos2d::CCSet::CCSet(v6);\n  cocos2d::CCSet::addObject(v6, a2);\n  cocos2d::CCObject::autorelease(v6);\n  *((_BYTE *)a1 + 464) = (unsigned __int8)&dword_0 + 1;\n  v7 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)((char *)&dword_0 + 1));\n  v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 160LL))(v7);\n  (*(void (__fastcall **)(__int64, cocos2d::CCSet *, __int64))(*(_QWORD *)v8 + 104LL))(v8, v6, a3);\n  *((_BYTE *)a1 + 464) = 0;\n  return BoomScrollLayer::claimTouch(a1, a2);\n}", "assembly": "; \n; BoomScrollLayer::cancelAndStoleTouch from 0x68a7a4 to 0x68a840 (156 bytes)\n; \n; 2 xrefs:\n; > BoomScrollLayer::ccTouchMoved @ 0x68aa58\n; > <???> @ 0xbe648\n; \n; This function is hookable on this platform (idp: arm, 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:50:32 +0000\n; \nSTP             X29, X30, [SP,#-0x30+var_s0]!                          ; +0x0, 0x68a7a4\nMOV             X29, SP                                                ; +0x4, 0x68a7a8\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x68a7ac\nMOV             X20, X0                                                ; +0xc, 0x68a7b0\nMOV             X0, #0x40 ; '@'; unsigned __int64                      ; +0x10, 0x68a7b4\nSTP             X21, X22, [SP,#var_s20]                                ; +0x14, 0x68a7b8\nMOV             X21, X1                                                ; +0x18, 0x68a7bc\nMOV             X22, X2                                                ; +0x1c, 0x68a7c0\nBL              _Znwm; operator new(ulong)                             ; +0x20, 0x68a7c4\nMOV             X19, X0                                                ; +0x24, 0x68a7c8\nBL              _ZN7cocos2d5CCSetC1Ev; cocos2d::CCSet::CCSet(void)     ; +0x28, 0x68a7cc\nMOV             X1, X21; cocos2d::CCObject *                           ; +0x2c, 0x68a7d0\nMOV             X0, X19; this                                          ; +0x30, 0x68a7d4\nBL              _ZN7cocos2d5CCSet9addObjectEPNS_8CCObjectE; cocos2d::CCSet::addObject(cocos2d::CCObject *) ; +0x34, 0x68a7d8\nMOV             X0, X19; this                                          ; +0x38, 0x68a7dc\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x3c, 0x68a7e0\nMOV             W0, #(dword_0+1); this                                 ; +0x40, 0x68a7e4\nSTRB            W0, [X20,#0x1D0]                                       ; +0x44, 0x68a7e8\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x48, 0x68a7ec\nLDR             X1, [X0]                                               ; +0x4c, 0x68a7f0\nLDR             X1, [X1,#0xA0]                                         ; +0x50, 0x68a7f4\nBLR             X1                                                     ; +0x54, 0x68a7f8\nLDR             X3, [X0]                                               ; +0x58, 0x68a7fc\nMOV             X1, X19                                                ; +0x5c, 0x68a800\nMOV             X2, X22                                                ; +0x60, 0x68a804\nLDR             X3, [X3,#0x68]                                         ; +0x64, 0x68a808\nBLR             X3                                                     ; +0x68, 0x68a80c\nSTRB            WZR, [X20,#0x1D0]                                      ; +0x6c, 0x68a810\nMOV             X0, X20; this                                          ; +0x70, 0x68a814\nMOV             X1, X21; cocos2d::CCTouch *                            ; +0x74, 0x68a818\nLDP             X19, X20, [SP,#var_s10]                                ; +0x78, 0x68a81c\nLDP             X21, X22, [SP,#var_s20]                                ; +0x7c, 0x68a820\nLDP             X29, X30, [SP+var_s0],#0x30                            ; +0x80, 0x68a824\nB               _ZN15BoomScrollLayer10claimTouchEPN7cocos2d7CCTouchE; BoomScrollLayer::claimTouch(cocos2d::CCTouch *) ; +0x84, 0x68a828\nMOV             X20, X0                                                ; +0x88, 0x68a82c\nMOV             X0, X19; void *                                        ; +0x8c, 0x68a830\nBL              _ZdlPv; operator delete(void *)                        ; +0x90, 0x68a834\nMOV             X0, X20                                                ; +0x94, 0x68a838\nBL              _Unwind_Resume                                         ; +0x98, 0x68a83c", "xrefs": ["BoomScrollLayer::ccTouchMoved @ 0x68aa58", "<???> @ 0xbe648"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}