{"type": "func", "start": 4301334720, "end": 4301334923, "name": "EditorUI::transformResetRotation", "pseudocode": "// \n// EditorUI::transformResetRotation from 0x1006128c0 to 0x10061298b (203 bytes)\n// \n// 2 xrefs:\n// > sub_100612990 @ 0x10061299c\n// > <???> @ 0x100ab5118\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:34:35 +0000\n// \n\n__int64 __fastcall EditorUI::transformResetRotation(__int64 a1)\n{\n  __int64 result; // rax\n  float v2; // xmm0_4\n  __int64 v4; // rdi\n  __int64 v5; // r14\n  __int64 v6; // rdi\n  _QWORD v7[5]; // [rsp-28h] [rbp-28h] BYREF\n\n  v2 = *(float *)(a1 + 512);\n  *(float *)(a1 + 528) = v2;\n  if ( v2 != 0.0 )\n  {\n    v7[0] = result;\n    *(_QWORD *)(a1 + 512) = 0;\n    v4 = *(_QWORD *)(a1 + 896);\n    if ( v4 )\n    {\n      result = sub_1007FEF90(v4);\n      if ( (_DWORD)result )\n      {\n        v5 = *(_QWORD *)(a1 + 896);\n        if ( !v5 )\n          return result;\nLABEL_8:\n        sub_1002782D0(v7, (_QWORD *)(a1 + 768));\n        return EditorUI::transformObjects(\n                 a1,\n                 v5,\n                 (float *)v7,\n                 *(float *)(a1 + 504),\n                 *(float *)(a1 + 508),\n                 *(float *)(a1 + 512),\n                 *(float *)(a1 + 516),\n                 *(float *)(a1 + 520),\n                 *(float *)(a1 + 524));\n      }\n    }\n    v6 = *(_QWORD *)(a1 + 1496);\n    if ( v6 )\n    {\n      result = sub_1007FE9A0(v6);\n      v5 = result;\n      if ( result )\n        goto LABEL_8;\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::transformResetRotation from 0x1006128c0 to 0x10061298b (203 bytes)\n; \n; 2 xrefs:\n; > sub_100612990 @ 0x10061299c\n; > <???> @ 0x100ab5118\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:34:35 +0000\n; \nmovss   xmm0, dword ptr [rdi+200h]                                     ; +0x0, 0x1006128c0\nmovss   dword ptr [rdi+210h], xmm0                                     ; +0x8, 0x1006128c8\nxorps   xmm1, xmm1                                                     ; +0x10, 0x1006128d0\nucomiss xmm0, xmm1                                                     ; +0x13, 0x1006128d3\njnz     short loc_1006128DB                                            ; +0x16, 0x1006128d6\njp      short loc_1006128DB                                            ; +0x18, 0x1006128d8\nretn                                                                   ; +0x1a, 0x1006128da\npush    rbp                                                            ; +0x1b, 0x1006128db\nmov     rbp, rsp                                                       ; +0x1c, 0x1006128dc\npush    r15                                                            ; +0x1f, 0x1006128df\npush    r14                                                            ; +0x21, 0x1006128e1\npush    rbx                                                            ; +0x23, 0x1006128e3\npush    rax                                                            ; +0x24, 0x1006128e4\nmov     rbx, rdi                                                       ; +0x25, 0x1006128e5\nmov     qword ptr [rdi+200h], 0                                        ; +0x28, 0x1006128e8\nmov     rdi, [rdi+380h]                                                ; +0x33, 0x1006128f3\ntest    rdi, rdi                                                       ; +0x3a, 0x1006128fa\njz      short loc_100612916                                            ; +0x3d, 0x1006128fd\ncall    sub_1007FEF90                                                  ; +0x3f, 0x1006128ff\ntest    eax, eax                                                       ; +0x44, 0x100612904\njz      short loc_100612916                                            ; +0x46, 0x100612906\nmov     r14, [rbx+380h]                                                ; +0x48, 0x100612908\ntest    r14, r14                                                       ; +0x4f, 0x10061290f\njnz     short loc_10061292F                                            ; +0x52, 0x100612912\njmp     short loc_100612980                                            ; +0x54, 0x100612914\nmov     rdi, [rbx+5D8h]                                                ; +0x56, 0x100612916\ntest    rdi, rdi                                                       ; +0x5d, 0x10061291d\njz      short loc_100612980                                            ; +0x60, 0x100612920\ncall    sub_1007FE9A0                                                  ; +0x62, 0x100612922\nmov     r14, rax                                                       ; +0x67, 0x100612927\ntest    r14, r14                                                       ; +0x6a, 0x10061292a\njz      short loc_100612980                                            ; +0x6d, 0x10061292d\nlea     rsi, [rbx+300h]                                                ; +0x6f, 0x10061292f\nlea     r15, [rbp-20h]                                                 ; +0x76, 0x100612936\nmov     rdi, r15                                                       ; +0x7a, 0x10061293a\ncall    sub_1002782D0                                                  ; +0x7d, 0x10061293d\nmovss   xmm0, dword ptr [rbx+1F8h]                                     ; +0x82, 0x100612942\nmovss   xmm1, dword ptr [rbx+1FCh]                                     ; +0x8a, 0x10061294a\nmovss   xmm2, dword ptr [rbx+200h]                                     ; +0x92, 0x100612952\nmovss   xmm3, dword ptr [rbx+204h]                                     ; +0x9a, 0x10061295a\nmovss   xmm4, dword ptr [rbx+208h]                                     ; +0xa2, 0x100612962\nmovss   xmm5, dword ptr [rbx+20Ch]                                     ; +0xaa, 0x10061296a\nmov     rdi, rbx                                                       ; +0xb2, 0x100612972\nmov     rsi, r14                                                       ; +0xb5, 0x100612975\nmov     rdx, r15                                                       ; +0xb8, 0x100612978\ncall    EditorUI__transformObjects                                     ; +0xbb, 0x10061297b\nadd     rsp, 8                                                         ; +0xc0, 0x100612980\npop     rbx                                                            ; +0xc4, 0x100612984\npop     r14                                                            ; +0xc5, 0x100612985\npop     r15                                                            ; +0xc7, 0x100612987\npop     rbp                                                            ; +0xc9, 0x100612989\nretn                                                                   ; +0xca, 0x10061298a", "xrefs": ["sub_100612990 @ 0x10061299c", "<???> @ 0x100ab5118"], "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"}