{"type": "func", "start": 4301334960, "end": 4301335160, "name": "EditorUI::transformRestoreRotation", "pseudocode": "// \n// EditorUI::transformRestoreRotation from 0x1006129b0 to 0x100612a78 (200 bytes)\n// \n// 2 xrefs:\n// > sub_100612A80 @ 0x100612a8c\n// > <???> @ 0x100ab5120\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::transformRestoreRotation(__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 + 528);\n  if ( v2 != 0.0 )\n  {\n    v7[0] = result;\n    *(float *)(a1 + 512) = v2;\n    *(float *)(a1 + 516) = v2;\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::transformRestoreRotation from 0x1006129b0 to 0x100612a78 (200 bytes)\n; \n; 2 xrefs:\n; > sub_100612A80 @ 0x100612a8c\n; > <???> @ 0x100ab5120\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+210h]                                     ; +0x0, 0x1006129b0\nxorps   xmm1, xmm1                                                     ; +0x8, 0x1006129b8\nucomiss xmm0, xmm1                                                     ; +0xb, 0x1006129bb\njnz     short loc_1006129C3                                            ; +0xe, 0x1006129be\njp      short loc_1006129C3                                            ; +0x10, 0x1006129c0\nretn                                                                   ; +0x12, 0x1006129c2\npush    rbp                                                            ; +0x13, 0x1006129c3\nmov     rbp, rsp                                                       ; +0x14, 0x1006129c4\npush    r15                                                            ; +0x17, 0x1006129c7\npush    r14                                                            ; +0x19, 0x1006129c9\npush    rbx                                                            ; +0x1b, 0x1006129cb\npush    rax                                                            ; +0x1c, 0x1006129cc\nmov     rbx, rdi                                                       ; +0x1d, 0x1006129cd\nmovss   dword ptr [rdi+200h], xmm0                                     ; +0x20, 0x1006129d0\nmovss   dword ptr [rdi+204h], xmm0                                     ; +0x28, 0x1006129d8\nmov     rdi, [rdi+380h]                                                ; +0x30, 0x1006129e0\ntest    rdi, rdi                                                       ; +0x37, 0x1006129e7\njz      short loc_100612A03                                            ; +0x3a, 0x1006129ea\ncall    sub_1007FEF90                                                  ; +0x3c, 0x1006129ec\ntest    eax, eax                                                       ; +0x41, 0x1006129f1\njz      short loc_100612A03                                            ; +0x43, 0x1006129f3\nmov     r14, [rbx+380h]                                                ; +0x45, 0x1006129f5\ntest    r14, r14                                                       ; +0x4c, 0x1006129fc\njnz     short loc_100612A1C                                            ; +0x4f, 0x1006129ff\njmp     short loc_100612A6D                                            ; +0x51, 0x100612a01\nmov     rdi, [rbx+5D8h]                                                ; +0x53, 0x100612a03\ntest    rdi, rdi                                                       ; +0x5a, 0x100612a0a\njz      short loc_100612A6D                                            ; +0x5d, 0x100612a0d\ncall    sub_1007FE9A0                                                  ; +0x5f, 0x100612a0f\nmov     r14, rax                                                       ; +0x64, 0x100612a14\ntest    r14, r14                                                       ; +0x67, 0x100612a17\njz      short loc_100612A6D                                            ; +0x6a, 0x100612a1a\nlea     rsi, [rbx+300h]                                                ; +0x6c, 0x100612a1c\nlea     r15, [rbp-20h]                                                 ; +0x73, 0x100612a23\nmov     rdi, r15                                                       ; +0x77, 0x100612a27\ncall    sub_1002782D0                                                  ; +0x7a, 0x100612a2a\nmovss   xmm0, dword ptr [rbx+1F8h]                                     ; +0x7f, 0x100612a2f\nmovss   xmm1, dword ptr [rbx+1FCh]                                     ; +0x87, 0x100612a37\nmovss   xmm2, dword ptr [rbx+200h]                                     ; +0x8f, 0x100612a3f\nmovss   xmm3, dword ptr [rbx+204h]                                     ; +0x97, 0x100612a47\nmovss   xmm4, dword ptr [rbx+208h]                                     ; +0x9f, 0x100612a4f\nmovss   xmm5, dword ptr [rbx+20Ch]                                     ; +0xa7, 0x100612a57\nmov     rdi, rbx                                                       ; +0xaf, 0x100612a5f\nmov     rsi, r14                                                       ; +0xb2, 0x100612a62\nmov     rdx, r15                                                       ; +0xb5, 0x100612a65\ncall    EditorUI__transformObjects                                     ; +0xb8, 0x100612a68\nadd     rsp, 8                                                         ; +0xbd, 0x100612a6d\npop     rbx                                                            ; +0xc1, 0x100612a71\npop     r14                                                            ; +0xc2, 0x100612a72\npop     r15                                                            ; +0xc4, 0x100612a74\npop     rbp                                                            ; +0xc6, 0x100612a76\nretn                                                                   ; +0xc7, 0x100612a77", "xrefs": ["sub_100612A80 @ 0x100612a8c", "<???> @ 0x100ab5120"], "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"}