; ; EditorUI::valueFromXPos from 0x10002f0d0 to 0x10002f15b (139 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, 0x10002f0d0 mov rbp, rsp ; +0x1, 0x10002f0d1 push rbx ; +0x4, 0x10002f0d4 sub rsp, 18h ; +0x5, 0x10002f0d5 movss [rbp+var_14], xmm0 ; +0x9, 0x10002f0d9 mov rbx, rdi ; +0xe, 0x10002f0de xor esi, esi ; +0x11, 0x10002f0e1 call EditorUI__getXMin ; +0x13, 0x10002f0e3 movss [rbp+var_10], xmm0 ; +0x18, 0x10002f0e8 mov rdi, [rbx+4E8h] ; +0x1d, 0x10002f0ed call LevelEditorLayer__getSectionCount ; +0x24, 0x10002f0f4 cmp eax, 65h ; 'e' ; +0x29, 0x10002f0f9 mov ecx, 64h ; 'd' ; +0x2c, 0x10002f0fc cmovge ecx, eax ; +0x31, 0x10002f101 xorps xmm0, xmm0 ; +0x34, 0x10002f104 cvtsi2ss xmm0, ecx ; +0x37, 0x10002f107 mulss xmm0, cs:dword_10081501C ; +0x3b, 0x10002f10b movss [rbp+var_C], xmm0 ; +0x43, 0x10002f113 mov rax, [rbx+4E8h] ; +0x48, 0x10002f118 mov rdi, [rax+0EB8h] ; +0x4f, 0x10002f11f mov rax, [rdi] ; +0x56, 0x10002f126 call qword ptr [rax+0A8h] ; +0x59, 0x10002f129 mulss xmm0, [rbp+var_C] ; +0x5f, 0x10002f12f movss xmm1, [rbp+var_14] ; +0x64, 0x10002f134 subss xmm1, [rbp+var_10] ; +0x69, 0x10002f139 divss xmm1, xmm0 ; +0x6e, 0x10002f13e xorps xmm0, xmm0 ; +0x72, 0x10002f142 maxss xmm1, xmm0 ; +0x75, 0x10002f145 minss xmm1, cs:alpha ; +0x79, 0x10002f149 movaps xmm0, xmm1 ; +0x81, 0x10002f151 add rsp, 18h ; +0x84, 0x10002f154 pop rbx ; +0x88, 0x10002f158 pop rbp ; +0x89, 0x10002f159 retn ; +0x8a, 0x10002f15a