{"type": "func", "start": 4301524768, "end": 4301524909, "name": "GJRotationControl::setAngle", "pseudocode": "// \n// GJRotationControl::setAngle from 0x100640f20 to 0x100640fad (141 bytes)\n// \n// 1 xrefs:\n// > EditorUI::activateRotationControl @ 0x10060ebcc\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:43 +0000\n// \n\n__int64 __fastcall GJRotationControl::setAngle(__int64 a1, __m128 a2)\n{\n  __int64 v2; // rax\n  float v5[8]; // [rsp+0h] [rbp-20h] BYREF\n\n  *(_QWORD *)v5 = v2;\n  *(_DWORD *)(a1 + 432) = a2.i32[0];\n  *(_DWORD *)(a1 + 436) = a2.i32[0];\n  *(__float2 *)a2.f32 = __sincosf_stret(a2.f32[0] * -0.017453292);\n  sub_100278250(v5, _mm_movehdup_ps(a2).f32[0] * 60.0, 60.0 * a2.f32[0]);\n  sub_100278300((_QWORD *)(a1 + 412), v5);\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 424) + 184LL))(*(_QWORD *)(a1 + 424), a1 + 412);\n  return sub_100640FB0(a1, *(float *)(a1 + 436));\n}", "assembly": "; \n; GJRotationControl::setAngle from 0x100640f20 to 0x100640fad (141 bytes)\n; \n; 1 xrefs:\n; > EditorUI::activateRotationControl @ 0x10060ebcc\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:43 +0000\n; \npush    rbp                                                            ; +0x0, 0x100640f20\nmov     rbp, rsp                                                       ; +0x1, 0x100640f21\npush    r15                                                            ; +0x4, 0x100640f24\npush    r14                                                            ; +0x6, 0x100640f26\npush    rbx                                                            ; +0x8, 0x100640f28\npush    rax                                                            ; +0x9, 0x100640f29\nmov     rbx, rdi                                                       ; +0xa, 0x100640f2a\nmovss   dword ptr [rdi+1B0h], xmm0                                     ; +0xd, 0x100640f2d\nmovss   dword ptr [rdi+1B4h], xmm0                                     ; +0x15, 0x100640f35\nmulss   xmm0, cs:dword_100A04854; float                                ; +0x1d, 0x100640f3d\ncall    ___sincosf_stret                                               ; +0x25, 0x100640f45\nmovshdup xmm2, xmm0                                                    ; +0x2a, 0x100640f4a\nmovss   xmm1, cs:dword_100A03818                                       ; +0x2e, 0x100640f4e\nmulss   xmm2, xmm1                                                     ; +0x36, 0x100640f56\nmulss   xmm1, xmm0                                                     ; +0x3a, 0x100640f5a\nlea     r14, [rbp+var_20]                                              ; +0x3e, 0x100640f5e\nmov     rdi, r14                                                       ; +0x42, 0x100640f62\nmovaps  xmm0, xmm2                                                     ; +0x45, 0x100640f65\ncall    sub_100278250                                                  ; +0x48, 0x100640f68\nlea     r15, [rbx+19Ch]                                                ; +0x4d, 0x100640f6d\nmov     rdi, r15                                                       ; +0x54, 0x100640f74\nmov     rsi, r14                                                       ; +0x57, 0x100640f77\ncall    sub_100278300                                                  ; +0x5a, 0x100640f7a\nmov     rdi, [rbx+1A8h]                                                ; +0x5f, 0x100640f7f\nmov     rax, [rdi]                                                     ; +0x66, 0x100640f86\nmov     rsi, r15                                                       ; +0x69, 0x100640f89\ncall    qword ptr [rax+0B8h]                                           ; +0x6c, 0x100640f8c\nmovss   xmm0, dword ptr [rbx+1B4h]                                     ; +0x72, 0x100640f92\nmov     rdi, rbx                                                       ; +0x7a, 0x100640f9a\ncall    sub_100640FB0                                                  ; +0x7d, 0x100640f9d\nadd     rsp, 8                                                         ; +0x82, 0x100640fa2\npop     rbx                                                            ; +0x86, 0x100640fa6\npop     r14                                                            ; +0x87, 0x100640fa7\npop     r15                                                            ; +0x89, 0x100640fa9\npop     rbp                                                            ; +0x8b, 0x100640fab\nretn                                                                   ; +0x8c, 0x100640fac", "xrefs": ["EditorUI::activateRotationControl @ 0x10060ebcc"], "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"}