{"type": "func", "start": 3940518, "end": 3940606, "name": "BoomScrollLayer::cancelAndStoleTouch", "pseudocode": "// \n// BoomScrollLayer::cancelAndStoleTouch from 0x3c20a6 to 0x3c20fe (88 bytes)\n// \n// 1 xrefs:\n// > BoomScrollLayer::ccTouchMoved @ 0x3c219c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:31 +0000\n// \n\nint __fastcall BoomScrollLayer::cancelAndStoleTouch(BoomScrollLayer *a1, cocos2d::CCObject *a2, int a3)\n{\n  cocos2d::CCSet *v6; // r4\n  cocos2d::CCDirector *v7; // r0\n  int v8; // r0\n  int v9; // r0\n\n  v6 = (cocos2d::CCSet *)operator new(0x38u);\n  cocos2d::CCSet::CCSet(v6);\n  cocos2d::CCSet::addObject(v6, a2);\n  v7 = (cocos2d::CCDirector *)cocos2d::CCObject::autorelease(v6);\n  *((_BYTE *)a1 + 356) = 1;\n  v8 = cocos2d::CCDirector::sharedDirector(v7);\n  v9 = (*(int (__fastcall **)(int))(*(_DWORD *)v8 + 80))(v8);\n  (*(void (__fastcall **)(int, cocos2d::CCSet *, int))(*(_DWORD *)v9 + 52))(v9, v6, a3);\n  *((_BYTE *)a1 + 356) = 0;\n  return BoomScrollLayer::claimTouch(a1, a2);\n}", "assembly": "; \n; BoomScrollLayer::cancelAndStoleTouch from 0x3c20a6 to 0x3c20fe (88 bytes)\n; \n; 1 xrefs:\n; > BoomScrollLayer::ccTouchMoved @ 0x3c219c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:31 +0000\n; \nPUSH            {R3-R7,LR}                                             ; +0x0, 0x3c20a6\nMOV             R5, R0                                                 ; +0x2, 0x3c20a8\nMOVS            R0, #0x38 ; '8'; unsigned int                          ; +0x4, 0x3c20aa\nMOV             R6, R1                                                 ; +0x6, 0x3c20ac\nMOV             R7, R2                                                 ; +0x8, 0x3c20ae\nBL              _Znwj; operator new(uint)                              ; +0xa, 0x3c20b0\nMOV             R4, R0                                                 ; +0xe, 0x3c20b4\nBL              _ZN7cocos2d5CCSetC1Ev; cocos2d::CCSet::CCSet(void)     ; +0x10, 0x3c20b6\nMOV             R1, R6; cocos2d::CCObject *                            ; +0x14, 0x3c20ba\nMOV             R0, R4; this                                           ; +0x16, 0x3c20bc\nBL              _ZN7cocos2d5CCSet9addObjectEPNS_8CCObjectE; cocos2d::CCSet::addObject(cocos2d::CCObject *) ; +0x18, 0x3c20be\nMOV             R0, R4; this                                           ; +0x1c, 0x3c20c2\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x1e, 0x3c20c4\nMOVS            R3, #1                                                 ; +0x22, 0x3c20c8\nSTRB.W          R3, [R5,#0x164]                                        ; +0x24, 0x3c20ca\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x28, 0x3c20ce\nLDR             R3, [R0]                                               ; +0x2c, 0x3c20d2\nLDR             R3, [R3,#0x50]                                         ; +0x2e, 0x3c20d4\nBLX             R3                                                     ; +0x30, 0x3c20d6\nMOV             R1, R4                                                 ; +0x32, 0x3c20d8\nMOV             R2, R7                                                 ; +0x34, 0x3c20da\nLDR             R3, [R0]                                               ; +0x36, 0x3c20dc\nLDR             R3, [R3,#0x34]                                         ; +0x38, 0x3c20de\nBLX             R3                                                     ; +0x3a, 0x3c20e0\nMOVS            R3, #0                                                 ; +0x3c, 0x3c20e2\nMOV             R0, R5; this                                           ; +0x3e, 0x3c20e4\nSTRB.W          R3, [R5,#0x164]                                        ; +0x40, 0x3c20e6\nMOV             R1, R6; cocos2d::CCTouch *                             ; +0x44, 0x3c20ea\nPOP.W           {R3-R7,LR}                                             ; +0x46, 0x3c20ec\nB.W             _ZN15BoomScrollLayer10claimTouchEPN7cocos2d7CCTouchE; BoomScrollLayer::claimTouch(cocos2d::CCTouch *) ; +0x4a, 0x3c20f0\nMOV             R0, R4; void *                                         ; +0x4e, 0x3c20f4\nBL              _ZdlPv; operator delete(void *)                        ; +0x50, 0x3c20f6\nBL              __cxa_end_cleanup                                      ; +0x54, 0x3c20fa", "xrefs": ["BoomScrollLayer::ccTouchMoved @ 0x3c219c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}