; ; EditorUI::getSnapAngle from 0x10060f080 to 0x10060f128 (168 bytes) ; ; 2 xrefs: ; > EditorUI::transformObjectCall_1 @ 0x10060ee6d ; > EditorUI::transformObjectCall_1 @ 0x10060eea8 ; ; 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:34 +0000 ; push rbp ; +0x0, 0x10060f080 mov rbp, rsp ; +0x1, 0x10060f081 push r15 ; +0x4, 0x10060f084 push r14 ; +0x6, 0x10060f086 push rbx ; +0x8, 0x10060f088 push rax ; +0x9, 0x10060f089 mov r15, rsi ; +0xa, 0x10060f08a mov rbx, rdi ; +0xd, 0x10060f08d test rdx, rdx ; +0x10, 0x10060f090 jz short loc_10060F0F7 ; +0x13, 0x10060f093 mov r14, rdx ; +0x15, 0x10060f095 mov rdi, rdx ; +0x18, 0x10060f098 call sub_1007FEF90 ; +0x1b, 0x10060f09b test eax, eax ; +0x20, 0x10060f0a0 jz short loc_10060F0F7 ; +0x22, 0x10060f0a2 mov rdi, r14 ; +0x24, 0x10060f0a4 call sub_1007FEF90 ; +0x27, 0x10060f0a7 test eax, eax ; +0x2c, 0x10060f0ac jz short loc_10060F115 ; +0x2e, 0x10060f0ae xor r15d, r15d ; +0x30, 0x10060f0b0 nop word ptr [rax+rax+00000000h] ; +0x33, 0x10060f0b3 mov rdi, r14 ; +0x40, 0x10060f0c0 mov esi, r15d ; +0x43, 0x10060f0c3 call sub_1007FEFE0 ; +0x46, 0x10060f0c6 mov rdi, [rbx+5A0h] ; +0x4b, 0x10060f0cb mov rsi, rax ; +0x52, 0x10060f0d2 call LevelEditorLayer__rotationForSlopeNearObject ; +0x55, 0x10060f0d5 ucomiss xmm0, cs:dword_100A035E0 ; +0x5a, 0x10060f0da jnz short loc_10060F11D ; +0x61, 0x10060f0e1 jp short loc_10060F11D ; +0x63, 0x10060f0e3 inc r15d ; +0x65, 0x10060f0e5 mov rdi, r14 ; +0x68, 0x10060f0e8 call sub_1007FEF90 ; +0x6b, 0x10060f0eb cmp r15d, eax ; +0x70, 0x10060f0f0 jb short loc_10060F0C0 ; +0x73, 0x10060f0f3 jmp short loc_10060F115 ; +0x75, 0x10060f0f5 test r15, r15 ; +0x77, 0x10060f0f7 jz short loc_10060F115 ; +0x7a, 0x10060f0fa mov rdi, [rbx+5A0h] ; +0x7c, 0x10060f0fc mov rsi, r15 ; +0x83, 0x10060f103 add rsp, 8 ; +0x86, 0x10060f106 pop rbx ; +0x8a, 0x10060f10a pop r14 ; +0x8b, 0x10060f10b pop r15 ; +0x8d, 0x10060f10d pop rbp ; +0x8f, 0x10060f10f jmp LevelEditorLayer__rotationForSlopeNearObject ; +0x90, 0x10060f110 movss xmm0, cs:dword_100A035E0 ; +0x95, 0x10060f115 add rsp, 8 ; +0x9d, 0x10060f11d pop rbx ; +0xa1, 0x10060f121 pop r14 ; +0xa2, 0x10060f122 pop r15 ; +0xa4, 0x10060f124 pop rbp ; +0xa6, 0x10060f126 retn ; +0xa7, 0x10060f127