{"type": "func", "start": 4299527828, "end": 4299527884, "name": "GJDropDownLayer::registerWithTouchDispatcher", "pseudocode": "// \n// GJDropDownLayer::registerWithTouchDispatcher from 0x100459694 to 0x1004596cc (56 bytes)\n// \n// 12 xrefs:\n// > <???> @ 0x1008d0808\n// > <???> @ 0x1008f1838\n// > <???> @ 0x1008f1ff0\n// > <???> @ 0x1008fe608\n// > <???> @ 0x100908a10\n// > <???> @ 0x100923158\n// > <???> @ 0x100929ff0\n// > <???> @ 0x100937300\n// > <???> @ 0x100941488\n// > <???> @ 0x10094a658\n// > <???> @ 0x100967a10\n// > <???> @ 0x10097e588\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 11:05:25 +0000\n// \n\nvoid __fastcall GJDropDownLayer::registerWithTouchDispatcher(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x0\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);\n  cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, (void *)(a1 + 320), 4294966796LL, 1);\n}", "assembly": "; \n; GJDropDownLayer::registerWithTouchDispatcher from 0x100459694 to 0x1004596cc (56 bytes)\n; \n; 12 xrefs:\n; > <???> @ 0x1008d0808\n; > <???> @ 0x1008f1838\n; > <???> @ 0x1008f1ff0\n; > <???> @ 0x1008fe608\n; > <???> @ 0x100908a10\n; > <???> @ 0x100923158\n; > <???> @ 0x100929ff0\n; > <???> @ 0x100937300\n; > <???> @ 0x100941488\n; > <???> @ 0x10094a658\n; > <???> @ 0x100967a10\n; > <???> @ 0x10097e588\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 11:05:25 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100459694\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100459698\nADD             X29, SP, #0x10                                         ; +0x8, 0x10045969c\nMOV             X19, X0                                                ; +0xc, 0x1004596a0\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1004596a4\nLDR             X8, [X0]                                               ; +0x14, 0x1004596a8\nLDR             X8, [X8,#0xA0]                                         ; +0x18, 0x1004596ac\nBLR             X8                                                     ; +0x1c, 0x1004596b0\nADD             X1, X19, #0x140                                        ; +0x20, 0x1004596b4\nMOV             W2, #0xFFFFFE0C                                        ; +0x24, 0x1004596b8\nMOV             W3, #1                                                 ; +0x28, 0x1004596bc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x2c, 0x1004596c0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x30, 0x1004596c4\nB               cocos2d__CCTouchDispatcher__addTargetedDelegate        ; +0x34, 0x1004596c8", "xrefs": ["<???> @ 0x1008d0808", "<???> @ 0x1008f1838", "<???> @ 0x1008f1ff0", "<???> @ 0x1008fe608", "<???> @ 0x100908a10", "<???> @ 0x100923158", "<???> @ 0x100929ff0", "<???> @ 0x100937300", "<???> @ 0x100941488", "<???> @ 0x10094a658", "<???> @ 0x100967a10", "<???> @ 0x10097e588"], "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"}