{"type": "func", "start": 4296197056, "end": 4296197156, "name": "BoomScrollLayer::claimTouch", "pseudocode": "// \n// BoomScrollLayer::claimTouch from 0x10012c3c0 to 0x10012c424 (100 bytes)\n// \n// 1 xrefs:\n// > BoomScrollLayer::cancelAndStoleTouch @ 0x10012c4a8\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::claimTouch(BoomScrollLayer *a1, cocos2d::CCTouch *a2)\n{\n  cocos2d::CCDirector *v4; // x0\n  cocos2d::CCTouchDispatcher *v5; // x0\n  cocos2d::CCTargetedTouchHandler *Handler_1; // x20\n  cocos2d::CCSet *ClaimedTouches; // x0\n  cocos2d::CCSet *v8; // x0\n\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v4->getTouchDispatcher)(v4);\n  Handler_1 = (cocos2d::CCTargetedTouchHandler *)cocos2d::CCTouchDispatcher::findHandler_1(\n                                                   v5,\n                                                   &a1->cocos2d::CCTouchDelegate);\n  ClaimedTouches = cocos2d::CCTargetedTouchHandler::getClaimedTouches(Handler_1);\n  if ( !cocos2d::CCSet::containsObject(ClaimedTouches, a2) )\n  {\n    v8 = cocos2d::CCTargetedTouchHandler::getClaimedTouches(Handler_1);\n    cocos2d::CCSet::addObject(v8, a2);\n  }\n}", "assembly": "; \n; BoomScrollLayer::claimTouch from 0x10012c3c0 to 0x10012c424 (100 bytes)\n; \n; 1 xrefs:\n; > BoomScrollLayer::cancelAndStoleTouch @ 0x10012c4a8\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10012c3c0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10012c3c4\nADD             X29, SP, #0x10                                         ; +0x8, 0x10012c3c8\nMOV             X19, X1                                                ; +0xc, 0x10012c3cc\nMOV             X20, X0                                                ; +0x10, 0x10012c3d0\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x14, 0x10012c3d4\nLDR             X8, [X0]                                               ; +0x18, 0x10012c3d8\nLDR             X8, [X8,#0xA0]                                         ; +0x1c, 0x10012c3dc\nBLR             X8                                                     ; +0x20, 0x10012c3e0\nADD             X1, X20, #0x140                                        ; +0x24, 0x10012c3e4\nBL              cocos2d__CCTouchDispatcher__findHandler_1              ; +0x28, 0x10012c3e8\nMOV             X20, X0                                                ; +0x2c, 0x10012c3ec\nBL              cocos2d__CCTargetedTouchHandler__getClaimedTouches     ; +0x30, 0x10012c3f0\nMOV             X1, X19                                                ; +0x34, 0x10012c3f4\nBL              cocos2d__CCSet__containsObject                         ; +0x38, 0x10012c3f8\nTBZ             W0, #0, loc_10012C40C                                  ; +0x3c, 0x10012c3fc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x10012c400\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x10012c404\nRET                                                                    ; +0x48, 0x10012c408\nMOV             X0, X20                                                ; +0x4c, 0x10012c40c\nBL              cocos2d__CCTargetedTouchHandler__getClaimedTouches     ; +0x50, 0x10012c410\nMOV             X1, X19                                                ; +0x54, 0x10012c414\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x10012c418\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x10012c41c\nB               cocos2d__CCSet__addObject                              ; +0x60, 0x10012c420", "xrefs": ["BoomScrollLayer::cancelAndStoleTouch @ 0x10012c4a8"], "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"}