{"type": "func", "start": 4296197156, "end": 4296197292, "name": "BoomScrollLayer::cancelAndStoleTouch", "pseudocode": "// \n// BoomScrollLayer::cancelAndStoleTouch from 0x10012c424 to 0x10012c4ac (136 bytes)\n// \n// 1 xrefs:\n// > BoomScrollLayer::ccTouchMoved @ 0x10012c6a0\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 BoomScrollLayer::cancelAndStoleTouch(BoomScrollLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  cocos2d::CCSet *v6; // x22\n  cocos2d::CCDirector *v7; // x0\n  __int64 v8; // x0\n\n  v6 = (cocos2d::CCSet *)operator new(0x40u);\n  j_cocos2d::CCSet::CCSet();\n  cocos2d::CCSet::addObject(v6, a2);\n  cocos2d::CCObject::autorelease(v6);\n  a1->m_ignoreTouchCancel = 1;\n  v7 = cocos2d::CCDirector::sharedDirector();\n  v8 = ((__int64 (__fastcall *)(cocos2d::CCDirector *))v7->getTouchDispatcher)(v7);\n  (*(void (__fastcall **)(__int64, cocos2d::CCSet *, cocos2d::CCEvent *))(*(_QWORD *)v8 + 104LL))(v8, v6, a3);\n  a1->m_ignoreTouchCancel = 0;\n  BoomScrollLayer::claimTouch(a1, a2);\n}", "assembly": "; \n; BoomScrollLayer::cancelAndStoleTouch from 0x10012c424 to 0x10012c4ac (136 bytes)\n; \n; 1 xrefs:\n; > BoomScrollLayer::ccTouchMoved @ 0x10012c6a0\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10012c424\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10012c428\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10012c42c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10012c430\nMOV             X21, X2                                                ; +0x10, 0x10012c434\nMOV             X19, X1                                                ; +0x14, 0x10012c438\nMOV             X20, X0                                                ; +0x18, 0x10012c43c\nMOV             W0, #0x40 ; '@'; __sz                                  ; +0x1c, 0x10012c440\nBL              __Znwm; operator new(ulong)                            ; +0x20, 0x10012c444\nMOV             X22, X0                                                ; +0x24, 0x10012c448\nBL              j_cocos2d__CCSet__CCSet                                ; +0x28, 0x10012c44c\nMOV             X0, X22                                                ; +0x2c, 0x10012c450\nMOV             X1, X19                                                ; +0x30, 0x10012c454\nBL              cocos2d__CCSet__addObject                              ; +0x34, 0x10012c458\nMOV             X0, X22                                                ; +0x38, 0x10012c45c\nBL              cocos2d__CCObject__autorelease                         ; +0x3c, 0x10012c460\nMOV             W8, #1                                                 ; +0x40, 0x10012c464\nSTRB            W8, [X20,#0x1C8]                                       ; +0x44, 0x10012c468\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x48, 0x10012c46c\nLDR             X8, [X0]                                               ; +0x4c, 0x10012c470\nLDR             X8, [X8,#0xA0]                                         ; +0x50, 0x10012c474\nBLR             X8                                                     ; +0x54, 0x10012c478\nLDR             X8, [X0]                                               ; +0x58, 0x10012c47c\nLDR             X8, [X8,#0x68]                                         ; +0x5c, 0x10012c480\nMOV             X1, X22                                                ; +0x60, 0x10012c484\nMOV             X2, X21                                                ; +0x64, 0x10012c488\nBLR             X8                                                     ; +0x68, 0x10012c48c\nSTRB            WZR, [X20,#0x1C8]                                      ; +0x6c, 0x10012c490\nMOV             X0, X20                                                ; +0x70, 0x10012c494\nMOV             X1, X19                                                ; +0x74, 0x10012c498\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x78, 0x10012c49c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x7c, 0x10012c4a0\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x80, 0x10012c4a4\nB               BoomScrollLayer__claimTouch                            ; +0x84, 0x10012c4a8", "xrefs": ["BoomScrollLayer::ccTouchMoved @ 0x10012c6a0"], "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"}