{"type": "func", "start": 4295462400, "end": 4295462474, "name": "CCTextInputMenu::ccTouchBegan", "pseudocode": "// \n// CCTextInputMenu::ccTouchBegan from 0x100078e00 to 0x100078e4a (74 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100aba8c8\n// \n// This function is hookable on this platform (idp: pc, 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 12:19:58 +0000\n// \n\n__int64 __fastcall CCTextInputMenu::ccTouchBegan(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rax\n  __int64 result; // rax\n  unsigned int v4; // ebx\n  _QWORD v5[4]; // [rsp+0h] [rbp-20h] BYREF\n\n  v5[0] = v2;\n  cocos2d::CCTouch::getLocation((__int64)v5, a2);\n  result = sub_100278940(a1 + 416, v5);\n  if ( !(_BYTE)result )\n  {\n    v4 = result;\n    sub_100065820(*(_QWORD *)(a1 + 408));\n    return v4;\n  }\n  return result;\n}", "assembly": "; \n; CCTextInputMenu::ccTouchBegan from 0x100078e00 to 0x100078e4a (74 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100aba8c8\n; \n; This function is hookable on this platform (idp: pc, 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 12:19:58 +0000\n; \npush    rbp                                                            ; +0x0, 0x100078e00\nmov     rbp, rsp                                                       ; +0x1, 0x100078e01\npush    r15                                                            ; +0x4, 0x100078e04\npush    r14                                                            ; +0x6, 0x100078e06\npush    rbx                                                            ; +0x8, 0x100078e08\npush    rax                                                            ; +0x9, 0x100078e09\nmov     rbx, rdi                                                       ; +0xa, 0x100078e0a\nlea     r14, [rdi+1A0h]                                                ; +0xd, 0x100078e0d\nlea     r15, [rbp+var_20]                                              ; +0x14, 0x100078e14\nmov     rdi, r15                                                       ; +0x18, 0x100078e18\ncall    cocos2d__CCTouch__getLocation                                  ; +0x1b, 0x100078e1b\nmov     rdi, r14                                                       ; +0x20, 0x100078e20\nmov     rsi, r15                                                       ; +0x23, 0x100078e23\ncall    sub_100278940                                                  ; +0x26, 0x100078e26\ntest    al, al                                                         ; +0x2b, 0x100078e2b\njnz     short loc_100078E3F                                            ; +0x2d, 0x100078e2d\nmov     rdi, [rbx+198h]                                                ; +0x2f, 0x100078e2f\nmov     ebx, eax                                                       ; +0x36, 0x100078e36\ncall    sub_100065820                                                  ; +0x38, 0x100078e38\nmov     eax, ebx                                                       ; +0x3d, 0x100078e3d\nadd     rsp, 8                                                         ; +0x3f, 0x100078e3f\npop     rbx                                                            ; +0x43, 0x100078e43\npop     r14                                                            ; +0x44, 0x100078e44\npop     r15                                                            ; +0x46, 0x100078e46\npop     rbp                                                            ; +0x48, 0x100078e48\nretn                                                                   ; +0x49, 0x100078e49", "xrefs": ["<???> @ 0x100aba8c8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}