{"type": "func", "start": 4297761648, "end": 4297761708, "name": "GJWriteMessagePopup::registerWithTouchDispatcher", "pseudocode": "// \n// GJWriteMessagePopup::registerWithTouchDispatcher from 0x1002aa370 to 0x1002aa3ac (60 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008fb4f8\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 GJWriteMessagePopup::registerWithTouchDispatcher(GJWriteMessagePopup *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; GJWriteMessagePopup::registerWithTouchDispatcher from 0x1002aa370 to 0x1002aa3ac (60 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008fb4f8\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, 0x1002aa370\nmov     rbp, rsp                                                       ; +0x1, 0x1002aa371\npush    rbx                                                            ; +0x4, 0x1002aa374\npush    rax                                                            ; +0x5, 0x1002aa375\nmov     rbx, rdi                                                       ; +0x6, 0x1002aa376\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x1002aa379\nmov     rcx, [rax]                                                     ; +0xe, 0x1002aa37e\nmov     rdi, rax                                                       ; +0x11, 0x1002aa381\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x1002aa384\nadd     rbx, 140h                                                      ; +0x1a, 0x1002aa38a\nmov     rdi, rax                                                       ; +0x21, 0x1002aa391\nmov     rsi, rbx                                                       ; +0x24, 0x1002aa394\nmov     edx, 0FFFFFE0Ch                                                ; +0x27, 0x1002aa397\nmov     ecx, 1                                                         ; +0x2c, 0x1002aa39c\nadd     rsp, 8                                                         ; +0x31, 0x1002aa3a1\npop     rbx                                                            ; +0x35, 0x1002aa3a5\npop     rbp                                                            ; +0x36, 0x1002aa3a6\njmp     cocos2d__CCTouchDispatcher__addTargetedDelegate                ; +0x37, 0x1002aa3a7", "xrefs": ["<???> @ 0x1008fb4f8"], "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"}