{"type": "func", "start": 4296333984, "end": 4296334040, "name": "GJShopLayer::registerWithTouchDispatcher", "pseudocode": "// \n// GJShopLayer::registerWithTouchDispatcher from 0x10014daa0 to 0x10014dad8 (56 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100798c60\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 GJShopLayer::registerWithTouchDispatcher(GJShopLayer *a1)\n{\n  cocos2d::CCDirector *v2; // x0\n  cocos2d::CCTouchDispatcher *v3; // x0\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2);\n  cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, &a1->cocos2d::CCTouchDelegate, -500, 1);\n}", "assembly": "; \n; GJShopLayer::registerWithTouchDispatcher from 0x10014daa0 to 0x10014dad8 (56 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100798c60\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, 0x10014daa0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10014daa4\nADD             X29, SP, #0x10                                         ; +0x8, 0x10014daa8\nMOV             X19, X0                                                ; +0xc, 0x10014daac\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x10014dab0\nLDR             X8, [X0]                                               ; +0x14, 0x10014dab4\nLDR             X8, [X8,#0xA0]                                         ; +0x18, 0x10014dab8\nBLR             X8                                                     ; +0x1c, 0x10014dabc\nADD             X1, X19, #0x140                                        ; +0x20, 0x10014dac0\nMOV             W2, #0xFFFFFE0C                                        ; +0x24, 0x10014dac4\nMOV             W3, #1                                                 ; +0x28, 0x10014dac8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x2c, 0x10014dacc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x30, 0x10014dad0\nB               cocos2d__CCTouchDispatcher__addTargetedDelegate        ; +0x34, 0x10014dad4", "xrefs": ["<???> @ 0x100798c60"], "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"}