{"type": "func", "start": 4300269712, "end": 4300269820, "name": "CreateGuidelinesLayer::ccTouchBegan", "pseudocode": "// \n// CreateGuidelinesLayer::ccTouchBegan from 0x10050e890 to 0x10050e8fc (108 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x100b68940\n// > <???> @ 0x100b69108\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:31:35 +0000\n// \n\nchar __fastcall CreateGuidelinesLayer::ccTouchBegan(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v3; // rdi\n  int v5; // [rsp-14h] [rbp-14h] BYREF\n\n  if ( *(_BYTE *)(a1 + 724) == 1 && *(int *)(a1 + 728) <= 1000 )\n  {\n    v5 = HIDWORD(v1);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1376LL))(a1);\n    v3 = *(_QWORD *)(a1 + 712);\n    BYTE2(v5) = 0;\n    LOWORD(v5) = -1;\n    (*(void (__fastcall **)(__int64, int *))(*(_QWORD *)v3 + 960LL))(v3, &v5);\n    (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 712) + 160LL))(*(_QWORD *)(a1 + 712), 0.89999998);\n    ++*(_DWORD *)(a1 + 728);\n  }\n  return 1;\n}", "assembly": "; \n; CreateGuidelinesLayer::ccTouchBegan from 0x10050e890 to 0x10050e8fc (108 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x100b68940\n; > <???> @ 0x100b69108\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:31:35 +0000\n; \ncmp     byte ptr [rdi+2D4h], 1                                         ; +0x0, 0x10050e890\njnz     short loc_10050E8F9                                            ; +0x7, 0x10050e897\ncmp     dword ptr [rdi+2D8h], 3E8h                                     ; +0x9, 0x10050e899\njg      short loc_10050E8F9                                            ; +0x13, 0x10050e8a3\npush    rbp                                                            ; +0x15, 0x10050e8a5\nmov     rbp, rsp                                                       ; +0x16, 0x10050e8a6\npush    rbx                                                            ; +0x19, 0x10050e8a9\npush    rax                                                            ; +0x1a, 0x10050e8aa\nmov     rax, [rdi]                                                     ; +0x1b, 0x10050e8ab\nmov     rbx, rdi                                                       ; +0x1e, 0x10050e8ae\ncall    qword ptr [rax+560h]                                           ; +0x21, 0x10050e8b1\nmov     rdi, [rbx+2C8h]                                                ; +0x27, 0x10050e8b7\nmov     byte ptr [rbp-0Ah], 0                                          ; +0x2e, 0x10050e8be\nmov     word ptr [rbp-0Ch], 0FFFFh                                     ; +0x32, 0x10050e8c2\nmov     rax, [rdi]                                                     ; +0x38, 0x10050e8c8\nlea     rsi, [rbp-0Ch]                                                 ; +0x3b, 0x10050e8cb\ncall    qword ptr [rax+3C0h]                                           ; +0x3f, 0x10050e8cf\nmov     rdi, [rbx+2C8h]                                                ; +0x45, 0x10050e8d5\nmov     rax, [rdi]                                                     ; +0x4c, 0x10050e8dc\nmovss   xmm0, cs:dword_100A03780                                       ; +0x4f, 0x10050e8df\ncall    qword ptr [rax+0A0h]                                           ; +0x57, 0x10050e8e7\ninc     dword ptr [rbx+2D8h]                                           ; +0x5d, 0x10050e8ed\nadd     rsp, 8                                                         ; +0x63, 0x10050e8f3\npop     rbx                                                            ; +0x67, 0x10050e8f7\npop     rbp                                                            ; +0x68, 0x10050e8f8\nmov     al, 1                                                          ; +0x69, 0x10050e8f9\nretn                                                                   ; +0x6b, 0x10050e8fb", "xrefs": ["<???> @ 0x100b68940", "<???> @ 0x100b69108"], "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"}