; ; EditorUI::xPosFromValue from 0x10002ef10 to 0x10002ef85 (117 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbp ; +0x0, 0x10002ef10 mov rbp, rsp ; +0x1, 0x10002ef11 push rbx ; +0x4, 0x10002ef14 sub rsp, 18h ; +0x5, 0x10002ef15 movss [rbp+var_14], xmm0 ; +0x9, 0x10002ef19 mov rbx, rdi ; +0xe, 0x10002ef1e xor esi, esi ; +0x11, 0x10002ef21 call EditorUI__getXMin ; +0x13, 0x10002ef23 movss [rbp+var_10], xmm0 ; +0x18, 0x10002ef28 mov rdi, [rbx+4E8h] ; +0x1d, 0x10002ef2d call LevelEditorLayer__getSectionCount ; +0x24, 0x10002ef34 cmp eax, 65h ; 'e' ; +0x29, 0x10002ef39 mov ecx, 64h ; 'd' ; +0x2c, 0x10002ef3c cmovge ecx, eax ; +0x31, 0x10002ef41 xorps xmm0, xmm0 ; +0x34, 0x10002ef44 cvtsi2ss xmm0, ecx ; +0x37, 0x10002ef47 mulss xmm0, cs:dword_100815014 ; +0x3b, 0x10002ef4b movss [rbp+var_C], xmm0 ; +0x43, 0x10002ef53 mov rax, [rbx+4E8h] ; +0x48, 0x10002ef58 mov rdi, [rax+0EB8h] ; +0x4f, 0x10002ef5f mov rax, [rdi] ; +0x56, 0x10002ef66 call qword ptr [rax+0A8h] ; +0x59, 0x10002ef69 mulss xmm0, [rbp+var_C] ; +0x5f, 0x10002ef6f mulss xmm0, [rbp+var_14] ; +0x64, 0x10002ef74 subss xmm0, [rbp+var_10] ; +0x69, 0x10002ef79 add rsp, 18h ; +0x6e, 0x10002ef7e pop rbx ; +0x72, 0x10002ef82 pop rbp ; +0x73, 0x10002ef83 retn ; +0x74, 0x10002ef84