// // EditorUI::transformRestoreRotation from 0x1006129b0 to 0x100612a78 (200 bytes) // // 2 xrefs: // > sub_100612A80 @ 0x100612a8c // > @ 0x100ab5120 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:34:35 +0000 // __int64 __fastcall EditorUI::transformRestoreRotation(__int64 a1) { __int64 result; // rax float v2; // xmm0_4 __int64 v4; // rdi __int64 v5; // r14 __int64 v6; // rdi _QWORD v7[5]; // [rsp-28h] [rbp-28h] BYREF v2 = *(float *)(a1 + 528); if ( v2 != 0.0 ) { v7[0] = result; *(float *)(a1 + 512) = v2; *(float *)(a1 + 516) = v2; v4 = *(_QWORD *)(a1 + 896); if ( v4 ) { result = sub_1007FEF90(v4); if ( (_DWORD)result ) { v5 = *(_QWORD *)(a1 + 896); if ( !v5 ) return result; LABEL_8: sub_1002782D0(v7, (_QWORD *)(a1 + 768)); return EditorUI::transformObjects( a1, v5, (float *)v7, *(float *)(a1 + 504), *(float *)(a1 + 508), *(float *)(a1 + 512), *(float *)(a1 + 516), *(float *)(a1 + 520), *(float *)(a1 + 524)); } } v6 = *(_QWORD *)(a1 + 1496); if ( v6 ) { result = sub_1007FE9A0(v6); v5 = result; if ( result ) goto LABEL_8; } } return result; }