{"type": "func", "start": 4304407040, "end": 4304407308, "name": "EditorWindowPopup::getResizeCorner", "pseudocode": "// \n// EditorWindowPopup::getResizeCorner from 0x100900a00 to 0x100900b0c (268 bytes)\n// \n// 1 xrefs:\n// > EditorWindowPopup::beginTouch @ 0x100901367\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:38:02 +0000\n// \n\n__int64 __fastcall EditorWindowPopup::getResizeCorner(__int64 a1, float *a2)\n{\n  float v2; // xmm4_4\n  float v3; // xmm3_4\n  float v4; // xmm4_4\n  float v5; // xmm0_4\n  float v6; // xmm1_4\n  bool v7; // cl\n  __int64 result; // rax\n  float v9[4]; // [rsp-48h] [rbp-48h] BYREF\n  float v10[4]; // [rsp-38h] [rbp-38h] BYREF\n  float v11; // [rsp-28h] [rbp-28h]\n  float v12; // [rsp-24h] [rbp-24h]\n\n  if ( !*(_DWORD *)(a1 + 1116) )\n    return 0;\n  v2 = *(float *)(a1 + 1064);\n  v3 = *(float *)(a1 + 1056) * v2;\n  v4 = v2 * *(float *)(a1 + 1060);\n  v5 = *(float *)(a1 + 1068);\n  v6 = *(float *)(a1 + 1072);\n  v11 = v3 * 0.5;\n  v12 = v4 * 0.5;\n  sub_100278270(\n    (__int64)v9,\n    (float)(v5 - (float)(v3 * 0.5)) + -6.0,\n    (float)(v6 - (float)(v4 * 0.5)) + -6.0,\n    (__m128)0x41400000u,\n    (__m128)0x41400000u);\n  v7 = sub_100278940(v9, a2);\n  result = 1;\n  if ( !v7 )\n  {\n    sub_100278270(\n      (__int64)v10,\n      (float)(v11 + *(float *)(a1 + 1068)) + -6.0,\n      (float)(*(float *)(a1 + 1072) - v12) + -6.0,\n      (__m128)0x41400000u,\n      (__m128)0x41400000u);\n    return 2 * (unsigned int)sub_100278940(v10, a2);\n  }\n  return result;\n}", "assembly": "; \n; EditorWindowPopup::getResizeCorner from 0x100900a00 to 0x100900b0c (268 bytes)\n; \n; 1 xrefs:\n; > EditorWindowPopup::beginTouch @ 0x100901367\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:38:02 +0000\n; \ncmp     dword ptr [rdi+45Ch], 0                                        ; +0x0, 0x100900a00\njz      loc_100900B09                                                  ; +0x7, 0x100900a07\npush    rbp                                                            ; +0xd, 0x100900a0d\nmov     rbp, rsp                                                       ; +0xe, 0x100900a0e\npush    r15                                                            ; +0x11, 0x100900a11\npush    r14                                                            ; +0x13, 0x100900a13\npush    rbx                                                            ; +0x15, 0x100900a15\nsub     rsp, 28h                                                       ; +0x16, 0x100900a16\nmov     rbx, rsi                                                       ; +0x1a, 0x100900a1a\nmov     r14, rdi                                                       ; +0x1d, 0x100900a1d\nmovss   xmm4, dword ptr [rdi+428h]                                     ; +0x20, 0x100900a20\nmovss   xmm3, dword ptr [rdi+420h]                                     ; +0x28, 0x100900a28\nmulss   xmm3, xmm4                                                     ; +0x30, 0x100900a30\nmulss   xmm4, dword ptr [rdi+424h]                                     ; +0x34, 0x100900a34\nmovss   xmm2, cs:dword_100A03578                                       ; +0x3c, 0x100900a3c\nmulss   xmm3, xmm2                                                     ; +0x44, 0x100900a44\nmovss   xmm0, dword ptr [rdi+42Ch]                                     ; +0x48, 0x100900a48\nmovss   xmm1, dword ptr [rdi+430h]                                     ; +0x50, 0x100900a50\nmovss   dword ptr [rbp-20h], xmm3                                      ; +0x58, 0x100900a58\nsubss   xmm0, xmm3                                                     ; +0x5d, 0x100900a5d\nmovss   xmm3, cs:dword_100A0644C                                       ; +0x61, 0x100900a61\naddss   xmm0, xmm3                                                     ; +0x69, 0x100900a69\nmulss   xmm4, xmm2                                                     ; +0x6d, 0x100900a6d\nmovss   dword ptr [rbp-1Ch], xmm4                                      ; +0x71, 0x100900a71\nsubss   xmm1, xmm4                                                     ; +0x76, 0x100900a76\naddss   xmm1, xmm3                                                     ; +0x7a, 0x100900a7a\nlea     r15, [rbp-40h]                                                 ; +0x7e, 0x100900a7e\nmovss   xmm2, cs:dword_100A037EC                                       ; +0x82, 0x100900a82\nmov     rdi, r15                                                       ; +0x8a, 0x100900a8a\nmovaps  xmm3, xmm2                                                     ; +0x8d, 0x100900a8d\ncall    sub_100278270                                                  ; +0x90, 0x100900a90\nmov     rdi, r15                                                       ; +0x95, 0x100900a95\nmov     rsi, rbx                                                       ; +0x98, 0x100900a98\ncall    sub_100278940                                                  ; +0x9b, 0x100900a9b\nmov     ecx, eax                                                       ; +0xa0, 0x100900aa0\nmov     eax, 1                                                         ; +0xa2, 0x100900aa2\ntest    cl, cl                                                         ; +0xa7, 0x100900aa7\njnz     short loc_100900AFE                                            ; +0xa9, 0x100900aa9\nmovss   xmm0, dword ptr [rbp-20h]                                      ; +0xab, 0x100900aab\naddss   xmm0, dword ptr [r14+42Ch]                                     ; +0xb0, 0x100900ab0\nmovss   xmm2, cs:dword_100A0644C                                       ; +0xb9, 0x100900ab9\naddss   xmm0, xmm2                                                     ; +0xc1, 0x100900ac1\nmovss   xmm1, dword ptr [r14+430h]                                     ; +0xc5, 0x100900ac5\nsubss   xmm1, dword ptr [rbp-1Ch]                                      ; +0xce, 0x100900ace\naddss   xmm1, xmm2                                                     ; +0xd3, 0x100900ad3\nlea     r14, [rbp-30h]                                                 ; +0xd7, 0x100900ad7\nmovss   xmm2, cs:dword_100A037EC                                       ; +0xdb, 0x100900adb\nmov     rdi, r14                                                       ; +0xe3, 0x100900ae3\nmovaps  xmm3, xmm2                                                     ; +0xe6, 0x100900ae6\ncall    sub_100278270                                                  ; +0xe9, 0x100900ae9\nmov     rdi, r14                                                       ; +0xee, 0x100900aee\nmov     rsi, rbx                                                       ; +0xf1, 0x100900af1\ncall    sub_100278940                                                  ; +0xf4, 0x100900af4\nmovzx   eax, al                                                        ; +0xf9, 0x100900af9\nadd     eax, eax                                                       ; +0xfc, 0x100900afc\nadd     rsp, 28h                                                       ; +0xfe, 0x100900afe\npop     rbx                                                            ; +0x102, 0x100900b02\npop     r14                                                            ; +0x103, 0x100900b03\npop     r15                                                            ; +0x105, 0x100900b05\npop     rbp                                                            ; +0x107, 0x100900b07\nretn                                                                   ; +0x108, 0x100900b08\nxor     eax, eax                                                       ; +0x109, 0x100900b09\nretn                                                                   ; +0x10b, 0x100900b0b", "xrefs": ["EditorWindowPopup::beginTouch @ 0x100901367"], "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"}