{"type": "func", "start": 4301161792, "end": 4301161852, "name": "GJDropDownLayer::registerWithTouchDispatcher", "pseudocode": "// \n// GJDropDownLayer::registerWithTouchDispatcher from 0x1005e8540 to 0x1005e857c (60 bytes)\n// \n// 14 xrefs:\n// > <???> @ 0x1008b5688\n// > <???> @ 0x1008b8778\n// > <???> @ 0x1008b8f10\n// > <???> @ 0x1008fd2f8\n// > <???> @ 0x10091d3a8\n// > <???> @ 0x1009221b0\n// > <???> @ 0x10094f210\n// > <???> @ 0x100958328\n// > <???> @ 0x10095e4d0\n// > <???> @ 0x100973d08\n// > <???> @ 0x100978510\n// > <???> @ 0x10097d7b8\n// > <???> @ 0x10098ca80\n// > <???> @ 0x100990608\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 GJDropDownLayer::registerWithTouchDispatcher(GJDropDownLayer *a1)\n{\n  cocos2d::CCDirector *v1; // rax\n  cocos2d::CCTouchDispatcher *v2; // rax\n\n  v1 = cocos2d::CCDirector::sharedDirector();\n  v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);\n  cocos2d::CCTouchDispatcher::addTargetedDelegate(v2, &a1->cocos2d::CCTouchDelegate, -500, 1);\n}", "assembly": "; \n; GJDropDownLayer::registerWithTouchDispatcher from 0x1005e8540 to 0x1005e857c (60 bytes)\n; \n; 14 xrefs:\n; > <???> @ 0x1008b5688\n; > <???> @ 0x1008b8778\n; > <???> @ 0x1008b8f10\n; > <???> @ 0x1008fd2f8\n; > <???> @ 0x10091d3a8\n; > <???> @ 0x1009221b0\n; > <???> @ 0x10094f210\n; > <???> @ 0x100958328\n; > <???> @ 0x10095e4d0\n; > <???> @ 0x100973d08\n; > <???> @ 0x100978510\n; > <???> @ 0x10097d7b8\n; > <???> @ 0x10098ca80\n; > <???> @ 0x100990608\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\npush    rbp                                                            ; +0x0, 0x1005e8540\nmov     rbp, rsp                                                       ; +0x1, 0x1005e8541\npush    rbx                                                            ; +0x4, 0x1005e8544\npush    rax                                                            ; +0x5, 0x1005e8545\nmov     rbx, rdi                                                       ; +0x6, 0x1005e8546\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x1005e8549\nmov     rcx, [rax]                                                     ; +0xe, 0x1005e854e\nmov     rdi, rax                                                       ; +0x11, 0x1005e8551\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x1005e8554\nadd     rbx, 140h                                                      ; +0x1a, 0x1005e855a\nmov     rdi, rax                                                       ; +0x21, 0x1005e8561\nmov     rsi, rbx                                                       ; +0x24, 0x1005e8564\nmov     edx, 0FFFFFE0Ch                                                ; +0x27, 0x1005e8567\nmov     ecx, 1                                                         ; +0x2c, 0x1005e856c\nadd     rsp, 8                                                         ; +0x31, 0x1005e8571\npop     rbx                                                            ; +0x35, 0x1005e8575\npop     rbp                                                            ; +0x36, 0x1005e8576\njmp     cocos2d__CCTouchDispatcher__addTargetedDelegate                ; +0x37, 0x1005e8577", "xrefs": ["<???> @ 0x1008b5688", "<???> @ 0x1008b8778", "<???> @ 0x1008b8f10", "<???> @ 0x1008fd2f8", "<???> @ 0x10091d3a8", "<???> @ 0x1009221b0", "<???> @ 0x10094f210", "<???> @ 0x100958328", "<???> @ 0x10095e4d0", "<???> @ 0x100973d08", "<???> @ 0x100978510", "<???> @ 0x10097d7b8", "<???> @ 0x10098ca80", "<???> @ 0x100990608"], "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"}