{"type": "func", "start": 4295039936, "end": 4295040087, "name": "EditorUI::positionIsInSnapped", "pseudocode": "// \n// EditorUI::positionIsInSnapped from 0x100011bc0 to 0x100011c57 (151 bytes)\n// \n// 0 xrefs:\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:18:52 +0000\n// \n\n__int64 __fastcall EditorUI::positionIsInSnapped(__int64 a1, float *a2)\n{\n  unsigned int v2; // ebx\n  __int64 v3; // r12\n\n  v2 = 0;\n  if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 880)) )\n  {\n    do\n    {\n      v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 880), v2);\n      if ( *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3) == *a2\n        && *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3) + 4) == a2[1] )\n      {\n        LOBYTE(v2) = 1;\n        return v2;\n      }\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 880)) );\n    return 0;\n  }\n  return v2;\n}", "assembly": "; \n; EditorUI::positionIsInSnapped from 0x100011bc0 to 0x100011c57 (151 bytes)\n; \n; 0 xrefs:\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:18:52 +0000\n; \npush    rbp                                                            ; +0x0, 0x100011bc0\nmov     rbp, rsp                                                       ; +0x1, 0x100011bc1\npush    r15                                                            ; +0x4, 0x100011bc4\npush    r14                                                            ; +0x6, 0x100011bc6\npush    r12                                                            ; +0x8, 0x100011bc8\npush    rbx                                                            ; +0xa, 0x100011bca\nmov     r14, rsi                                                       ; +0xb, 0x100011bcb\nmov     r15, rdi                                                       ; +0xe, 0x100011bce\nmov     rdi, [rdi+370h]                                                ; +0x11, 0x100011bd1\ncall    sub_1007FEF90                                                  ; +0x18, 0x100011bd8\nxor     ebx, ebx                                                       ; +0x1d, 0x100011bdd\ntest    eax, eax                                                       ; +0x1f, 0x100011bdf\njnz     short loc_100011C02                                            ; +0x21, 0x100011be1\njmp     short loc_100011C4C                                            ; +0x23, 0x100011be3\nalign 10h                                                              ; +0x25, 0x100011be5\ninc     ebx                                                            ; +0x30, 0x100011bf0\nmov     rdi, [r15+370h]                                                ; +0x32, 0x100011bf2\ncall    sub_1007FEF90                                                  ; +0x39, 0x100011bf9\ncmp     ebx, eax                                                       ; +0x3e, 0x100011bfe\njnb     short loc_100011C4A                                            ; +0x40, 0x100011c00\nmov     rdi, [r15+370h]                                                ; +0x42, 0x100011c02\nmov     esi, ebx                                                       ; +0x49, 0x100011c09\ncall    sub_1007FEFE0                                                  ; +0x4b, 0x100011c0b\nmov     r12, rax                                                       ; +0x50, 0x100011c10\nmov     rax, [rax]                                                     ; +0x53, 0x100011c13\nmov     rdi, r12                                                       ; +0x56, 0x100011c16\ncall    qword ptr [rax+0C0h]                                           ; +0x59, 0x100011c19\nmovss   xmm0, dword ptr [rax]                                          ; +0x5f, 0x100011c1f\nucomiss xmm0, dword ptr [r14]                                          ; +0x63, 0x100011c23\njnz     short loc_100011BF0                                            ; +0x67, 0x100011c27\njp      short loc_100011BF0                                            ; +0x69, 0x100011c29\nmov     rax, [r12]                                                     ; +0x6b, 0x100011c2b\nmov     rdi, r12                                                       ; +0x6f, 0x100011c2f\ncall    qword ptr [rax+0C0h]                                           ; +0x72, 0x100011c32\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x78, 0x100011c38\nucomiss xmm0, dword ptr [r14+4]                                        ; +0x7d, 0x100011c3d\njnz     short loc_100011BF0                                            ; +0x82, 0x100011c42\njp      short loc_100011BF0                                            ; +0x84, 0x100011c44\nmov     bl, 1                                                          ; +0x86, 0x100011c46\njmp     short loc_100011C4C                                            ; +0x88, 0x100011c48\nxor     ebx, ebx                                                       ; +0x8a, 0x100011c4a\nmov     eax, ebx                                                       ; +0x8c, 0x100011c4c\npop     rbx                                                            ; +0x8e, 0x100011c4e\npop     r12                                                            ; +0x8f, 0x100011c4f\npop     r14                                                            ; +0x91, 0x100011c51\npop     r15                                                            ; +0x93, 0x100011c53\npop     rbp                                                            ; +0x95, 0x100011c55\nretn                                                                   ; +0x96, 0x100011c56", "xrefs": [], "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"}