{"type": "func", "start": 5369973984, "end": 5369974104, "name": "CreateGuidelinesLayer::ccTouchBegan", "pseudocode": "// \n// CreateGuidelinesLayer::ccTouchBegan from 0x140134ce0 to 0x140134d58 (120 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140736630\n// > <???> @ 0x140736b58\n// > <???> @ 0x140917084\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 11:27:04 +0000\n// \n\nchar __fastcall CreateGuidelinesLayer::ccTouchBegan(__int64 a1)\n{\n  _BYTE *v2; // rcx\n  void (__fastcall ***v3)(_QWORD, __int16 *); // rcx\n  __int16 v5; // [rsp+30h] [rbp+8h] BYREF\n  char v6; // [rsp+32h] [rbp+Ah]\n\n  v2 = (_BYTE *)(a1 - 320);\n  if ( v2[724] && *(int *)(a1 + 408) <= 1000 )\n  {\n    (*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v2 + 1096LL))(v2);\n    v3 = (void (__fastcall ***)(_QWORD, __int16 *))(*(_QWORD *)(a1 + 392) + 320LL);\n    v5 = -1;\n    v6 = 0;\n    (**v3)(v3, &v5);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 392) + 160LL))(*(_QWORD *)(a1 + 392));\n    ++*(_DWORD *)(a1 + 408);\n  }\n  return 1;\n}", "assembly": "; \n; CreateGuidelinesLayer::ccTouchBegan from 0x140134ce0 to 0x140134d58 (120 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140736630\n; > <???> @ 0x140736b58\n; > <???> @ 0x140917084\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 11:27:04 +0000\n; \npush    rbx                                                            ; +0x0, 0x140134ce0\nsub     rsp, 20h                                                       ; +0x2, 0x140134ce2\nmov     rbx, rcx                                                       ; +0x6, 0x140134ce6\nadd     rcx, 0FFFFFFFFFFFFFEC0h                                        ; +0x9, 0x140134ce9\ncmp     byte ptr [rcx+2D4h], 0                                         ; +0x10, 0x140134cf0\njz      short loc_140134D50                                            ; +0x17, 0x140134cf7\ncmp     dword ptr [rbx+198h], 3E8h                                     ; +0x19, 0x140134cf9\njg      short loc_140134D50                                            ; +0x23, 0x140134d03\nmov     rax, [rcx]                                                     ; +0x25, 0x140134d05\ncall    qword ptr [rax+448h]                                           ; +0x28, 0x140134d08\nmov     rcx, [rbx+188h]                                                ; +0x2e, 0x140134d0e\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x35, 0x140134d15\nadd     rcx, 140h                                                      ; +0x3a, 0x140134d1a\nmov     [rsp+28h+arg_0], 0FFFFh                                        ; +0x41, 0x140134d21\nmov     [rsp+28h+arg_2], 0                                             ; +0x48, 0x140134d28\nmov     rax, [rcx]                                                     ; +0x4d, 0x140134d2d\ncall    qword ptr [rax]                                                ; +0x50, 0x140134d30\nmov     rcx, [rbx+188h]                                                ; +0x52, 0x140134d32\nmovss   xmm1, cs:dword_14083502C                                       ; +0x59, 0x140134d39\nmov     rax, [rcx]                                                     ; +0x61, 0x140134d41\ncall    qword ptr [rax+0A0h]                                           ; +0x64, 0x140134d44\ninc     dword ptr [rbx+198h]                                           ; +0x6a, 0x140134d4a\nmov     al, 1                                                          ; +0x70, 0x140134d50\nadd     rsp, 20h                                                       ; +0x72, 0x140134d52\npop     rbx                                                            ; +0x76, 0x140134d56\nretn                                                                   ; +0x77, 0x140134d57", "xrefs": ["<???> @ 0x140736630", "<???> @ 0x140736b58", "<???> @ 0x140917084"], "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"}