; ; EditorUI::xPosFromValue from 0x10000db40 to 0x10000dbb5 (117 bytes) ; ; 0 xrefs: ; ; 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:18:50 +0000 ; push rbp ; +0x0, 0x10000db40 mov rbp, rsp ; +0x1, 0x10000db41 push rbx ; +0x4, 0x10000db44 sub rsp, 18h ; +0x5, 0x10000db45 movss [rbp+var_14], xmm0 ; +0x9, 0x10000db49 mov rbx, rdi ; +0xe, 0x10000db4e xor esi, esi ; +0x11, 0x10000db51 call EditorUI__getXMin ; +0x13, 0x10000db53 movss [rbp+var_10], xmm0 ; +0x18, 0x10000db58 mov rdi, [rbx+5A0h] ; +0x1d, 0x10000db5d call LevelEditorLayer__getSectionCount ; +0x24, 0x10000db64 cmp eax, 65h ; 'e' ; +0x29, 0x10000db69 mov ecx, 64h ; 'd' ; +0x2c, 0x10000db6c cmovge ecx, eax ; +0x31, 0x10000db71 xorps xmm0, xmm0 ; +0x34, 0x10000db74 cvtsi2ss xmm0, ecx ; +0x37, 0x10000db77 mulss xmm0, cs:dword_100A03584 ; +0x3b, 0x10000db7b movss [rbp+var_C], xmm0 ; +0x43, 0x10000db83 mov rax, [rbx+5A0h] ; +0x48, 0x10000db88 mov rdi, [rax+0F50h] ; +0x4f, 0x10000db8f mov rax, [rdi] ; +0x56, 0x10000db96 call qword ptr [rax+0A8h] ; +0x59, 0x10000db99 mulss xmm0, [rbp+var_C] ; +0x5f, 0x10000db9f mulss xmm0, [rbp+var_14] ; +0x64, 0x10000dba4 subss xmm0, [rbp+var_10] ; +0x69, 0x10000dba9 add rsp, 18h ; +0x6e, 0x10000dbae pop rbx ; +0x72, 0x10000dbb2 pop rbp ; +0x73, 0x10000dbb3 retn ; +0x74, 0x10000dbb4