Function at 0x46d1b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x4c900c]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x88], edx
mov edx, dword [0x4c9c24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x7c], ecx
push esi
mov eax, dword [edx + 0x3e38]
push edi
mov dword [esp + 0x28], edx
mov byte [eax + 0xa8], 1
mov ecx, dword [edx + 0x3e38]
mov dword [esp + 0xa0], ecx
cmp byte [ecx + 0xab], 0
je 0x46d221
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004a7a88
mov esp, ebp
pop ebp
ret
test byte [edx + 0x4698], 1
mov eax, dword [ecx + 0x260]
mov dword [esp + 0x80], eax
je 0x46d241
movss xmm1, dword [edx + 0x469c]
jmp 0x46d249
movss xmm1, dword [ecx + 0x19c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x46d28b
cmp dword [ecx + 0x18c], 0
movss xmm0, dword [ecx + 0x224]
jne 0x46d26b
cmp dword [edx + 0x49e0], 0
je 0x46d273
movss xmm0, dword [ecx + 0x1f4]
subss xmm0, dword [ecx + 0xec]
addss xmm0, xmm1
movss xmm1, dword [0x4c194c]
maxss xmm1, xmm0
push ecx
push dword [esp + 0x88]
cvttss2si esi, xmm1
mov dword [edx + 0x4698], 0
mov edi, ecx
call fcn.0042a650
mov ecx, dword [edi + 0xe0]
add edi, 0xe0
mov dword [esp + 0xe0], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x46d2e5
inc ecx
test eax, eax
je 0x46d2d1
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x46d2d6
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00440770
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0xe0]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x28]
inc dword [edi]
mov eax, dword [eax + 0x5960]
mov dword [esp + 0xf4], eax
test eax, eax
jne 0x46d34c
mov edi, dword [esp + 0xa0]
mov ecx, dword [edi + 0xe0]
test ecx, ecx
jg 0x46d338
push 0x707
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [edi + 0xe0]
add esp, 0xc
mov eax, dword [edi + 0xe8]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x5960], eax
call fcn.00437c50
mov ecx, dword [ebp + 8]
mov eax, ecx
mov edi, dword [esp + 0x90]
mov edx, ecx
or edx, 0x10
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0x9c], edx
test dl, 8
jne 0x46d384
mov ecx, edi
call fcn.00470ca0
mov edx, dword [esp + 0x9c]
test edx, 0x6000000
jne 0x46d3b2
mov edx, dword [esp + 0x28]
mov ecx, 0xa900000
mov eax, dword [edx + 0x595c]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0x9c]
jmp 0x46d3b8
mov ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x46d3e3
mov eax, dword [edx + 0x595c]
test eax, 0x18000000
mov edx, 0xa900000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x10], ecx
mov edx, ecx
and edx, 0x6000000
je 0x46d3f4
lea eax, [edx - 1]
test edx, eax
je 0x46d410
push 0x14c0
push str.d:CProjectsSCUMSX2_srcimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_PickerMask__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, ecx
and edx, 0x18000000
je 0x46d421
lea eax, [edx - 1]
test edx, eax
je 0x46d43d
push 0x14c1
push str.d:CProjectsSCUMSX2_srcimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_InputMask__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test cl, 8
jne 0x46d457
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x595c]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xa0]
mov edx, ecx
and ecx, 0x10002
and edx, 2
mov dword [esp + 0x6c], edx
mov dword [esp + 0x9c], ecx
movss xmm0, dword [eax + 0xf0]
movss xmm3, dword [eax + 0xec]
mov eax, dword [0x4c9c24]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x60], xmm3
movss xmm4, dword [eax + 0x37d8]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x3bc8]
mov eax, dword [esp + 0x28]
movss xmm2, dword [eax + 0x37ec]
xor eax, eax
cmp ecx, 0x10000
movss dword [esp + 0x88], xmm4
movaps xmm0, xmm2
sete al
addss xmm0, xmm4
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x128]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x38], xmm1
movss dword [esp + 0xf0], xmm0
addss xmm0, xmm2
movss dword [esp + 0xcc], xmm0
addss xmm0, xmm4
movss dword [esp + 0xe4], xmm0
addss xmm0, xmm2
movss dword [esp + 0xe8], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x4c18d8]
cvttss2si esi, xmm0
mov dword [esp + 0xe0], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x38]
add esp, 0xc
movaps xmm2, xmm1
movaps xmm3, xmm1
mulss xmm2, dword [0x4c18fc]
mulss xmm3, dword [0x4c18b4]
movaps xmm0, xmm2
movss dword [esp + 0x70], xmm2
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x94], xmm3
movaps xmm4, xmm2
subss xmm4, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x88]
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xb0], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x4c189c]
mulss xmm3, dword [0x4c18fc]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x60]
movss dword [esp + 0x68], xmm4
movd xmm0, eax
movss dword [esp + 0xc4], xmm3
movss dword [esp + 0xac], xmm3
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x8000000
mov dword [esp + 0x38], 0
mov dword [esp + 0x8c], ecx
movss xmm6, dword [0x4c19e4]
movaps xmm1, xmm4
movss xmm4, dword [edi + 4]
subss xmm1, xmm0
movaps xmm3, xmm4
movss dword [esp + 0x1c], xmm4
movss dword [esp + 0x54], xmm3
movss dword [esp + 0xa0], xmm6
movaps xmm0, xmm1
movss dword [esp + 0x34], xmm1
mulss xmm0, dword [0x4c1ad0]
movaps xmm2, xmm1
mulss xmm2, dword [0x4c1adc]
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x108], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x4c193c]
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x7c], xmm2
movss xmm2, dword [edi]
movss dword [esp + 0xd0], xmm0
movaps xmm5, xmm2
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [edi + 8]
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x3c], xmm5
movss dword [esp + 0x20], xmm1
je 0x46d7a1
comiss xmm1, xmm3
movss dword [esp + 0x4c], xmm2
movaps xmm7, xmm1
xorps xmm6, xmm6
jbe 0x46d6f6
movss xmm6, dword [0x4c1ae0]
movaps xmm4, xmm1
movaps xmm7, xmm3
comiss xmm4, xmm5
jbe 0x46d716
movss xmm0, dword [0x4c1acc]
movaps xmm2, xmm4
subss xmm0, xmm6
movss dword [esp + 0x4c], xmm2
movaps xmm4, xmm5
movaps xmm6, xmm0
movaps xmm0, xmm4
movaps xmm1, xmm2
minss xmm0, xmm7
subss xmm4, xmm7
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x4c19e4]
addss xmm0, dword [0x4c1874]
divss xmm4, xmm0
addss xmm4, xmm6
movaps xmm0, xmm4
call fcn.004231d0
movss dword [esp + 0x24], xmm0
lea eax, [esp + 0x50]
movaps xmm0, xmm2
movss dword [esp + 0x50], xmm2
addss xmm0, dword [0x4c1874]
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea edx, [esp + 0x2c]
divss xmm1, xmm0
movss dword [esp + 0x24], xmm1
call fcn.0046bb90
movss xmm0, dword [esp + 0x2c]
add esp, 8
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm0
jmp 0x46d893
test eax, 0x10000000
je 0x46d893
ucomiss xmm4, dword [0x4c1864]
lahf
test ah, 0x44
jp 0x46d7c4
movaps xmm1, xmm0
movaps xmm4, xmm0
jmp 0x46d881
movss xmm1, dword [0x4c194c]
movaps xmm0, xmm2
call fcn.004231f0
movaps xmm1, xmm0
movss xmm5, dword [esp + 0x1c]
divss xmm1, dword [0x4c18d4]
movss xmm2, dword [0x4c194c]
cvttss2si eax, xmm1
movss xmm3, dword [esp + 0x4c]
movaps xmm6, xmm2
movaps xmm4, xmm2
subss xmm4, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm3
subss xmm1, xmm0
movss dword [esp + 0x20], xmm4
movaps xmm0, xmm1
mulss xmm0, xmm5
subss xmm6, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm6, xmm3
mulss xmm0, xmm5
subss xmm1, xmm0
mulss xmm1, xmm3
movss dword [esp + 0x54], xmm1
cmp eax, 5
ja case.0x46d846.5
jmp dword [eax*4 + 0x46fcec]
movaps xmm0, xmm3
jmp 0x46d88d
movss dword [esp + 0x20], xmm4
movaps xmm0, xmm6
movaps xmm4, xmm3
jmp 0x46d887
movaps xmm0, xmm4
movaps xmm4, xmm3
jmp 0x46d881
movaps xmm0, xmm4
movaps xmm1, xmm3
movaps xmm4, xmm6
jmp 0x46d881
movaps xmm0, xmm1
movaps xmm1, xmm3
jmp 0x46d881
movaps xmm1, xmm6
movaps xmm0, xmm3
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x3c], xmm0
mov ecx, 8
mov byte [esp + 0xe], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0xf], 0
call fcn.00434480
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x74], ecx
je 0x46def6
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x40]
mov eax, dword [esp + 0x28]
movaps xmm0, xmm1
push ecx
mov ecx, 0x4bf830
movss dword [esp + 0x48], xmm1
addss xmm0, dword [eax + 0x37ec]
addss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x44], xmm0
call fcn.00460470
mov eax, dword [0x4c9c24]
add esp, 4
mov ecx, dword [eax + 0x3e84]
test ecx, ecx
je 0x46dda4
cmp ecx, dword [eax + 0x46ac]
jne 0x46dda4
mov eax, dword [esp + 0x28]
movss xmm0, dword [eax + 0x36a8]
subss xmm0, dword [esp + 0xc8]
movss xmm1, dword [eax + 0x36a4]
subss xmm1, dword [esp + 0xc4]
movss xmm4, dword [eax + 0xdb8]
movss xmm3, dword [eax + 0xdbc]
subss xmm4, dword [esp + 0xc4]
subss xmm3, dword [esp + 0xc8]
movaps xmm2, xmm0
movss dword [esp + 0xa4], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xa8], xmm1
movss xmm1, dword [0x4c194c]
addss xmm2, xmm0
movss dword [esp + 0xf0], xmm4
movss xmm0, dword [esp + 0x68]
subss xmm0, xmm1
movss dword [esp + 0xf8], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x46da2e
movss xmm0, dword [esp + 0x70]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x46da2e
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x4c19b8]
xorps xmm0, xmm0
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x4c18fc]
comiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
jbe 0x46da26
addss xmm1, dword [0x4c194c]
movss dword [esp + 0x14], xmm1
mov al, 1
mov byte [esp + 0xe], al
jmp 0x46da40
mov al, byte [esp + 0xe]
movss xmm2, dword [0x4c19b8]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm1
mov byte [esp + 0x1a], al
xorps xmm0, xmmword [0x4c1f50]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x24], xmm0
movsd xmm0, qword [esp + 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x24]
xorps xmm5, xmm5
mulss xmm3, dword [esp + 0xa8]
cvtsd2ss xmm5, xmm0
movss xmm7, dword [esp + 0xcc]
movaps xmm0, xmm5
movss xmm6, dword [esp + 0x34]
mulss xmm0, dword [esp + 0xa4]
subss xmm6, xmm7
movaps xmm4, xmm5
movaps xmm2, xmm7
mulss xmm4, dword [esp + 0xa8]
subss xmm2, xmm7
subss xmm3, xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0xe8], xmm6
mulss xmm0, dword [esp + 0xa4]
movss dword [esp + 0xa4], xmm2
movaps xmm1, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0x98]
subss xmm0, dword [esp + 0xd0]
subss xmm1, xmm7
movss dword [esp + 0xa8], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xd0]
mulss xmm0, xmm2
xorps xmm2, xmm2
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x98]
comiss xmm2, xmm1
movaps xmm1, xmm3
movss dword [esp + 0xbc], xmm0
subss xmm1, xmm7
seta cl
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x98]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x46dd97
movss xmm7, dword [esp + 0xd0]
subss xmm4, xmm2
movss xmm0, dword [esp + 0xcc]
subss xmm7, xmm2
subss xmm0, dword [esp + 0x34]
subss xmm3, dword [esp + 0x34]
movss dword [esp + 0x40], xmm7
mulss xmm4, xmm0
mulss xmm3, xmm7
movss dword [esp + 0x50], xmm0
subss xmm3, xmm4
comiss xmm2, xmm3
seta al
cmp cl, al
jne 0x46dd97
movss xmm1, dword [esp + 0x24]
movaps xmm0, xmm5
movss xmm3, dword [esp + 0xf8]
movaps xmm6, xmm1
mulss xmm6, dword [esp + 0xf0]
mulss xmm5, dword [esp + 0xf0]
mulss xmm1, xmm3
mulss xmm0, xmm3
movss xmm3, dword [esp + 0xcc]
addss xmm5, xmm1
subss xmm6, xmm0
movaps xmm0, xmm5
movss dword [esp + 0xfc], xmm5
subss xmm0, dword [esp + 0xd0]
movaps xmm1, xmm6
movss dword [esp + 0xf8], xmm6
subss xmm1, xmm3
mulss xmm0, dword [esp + 0xa4]
mulss xmm1, dword [esp + 0xa8]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0x98]
comiss xmm2, xmm1
mulss xmm0, dword [esp + 0xe8]
movaps xmm1, xmm6
subss xmm1, xmm3
seta cl
mulss xmm1, dword [esp + 0xbc]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp al, cl
jne 0x46dc98
movaps xmm1, xmm6
movaps xmm0, xmm5
subss xmm1, dword [esp + 0x34]
subss xmm0, xmm2
mulss xmm1, xmm7
mulss xmm0, dword [esp + 0x50]
subss xmm1, xmm0
comiss xmm2, xmm1
seta al
cmp cl, al
je 0x46dcde
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0xf4]
call fcn.00425540
movss xmm7, dword [esp + 0x4c]
add esp, 0xc
movss xmm3, dword [esp + 0xcc]
xorps xmm2, xmm2
movss xmm6, dword [eax]
movss xmm5, dword [eax + 4]
subss xmm6, dword [esp + 0x34]
movaps xmm4, xmm3
subss xmm5, xmm2
movss xmm3, dword [esp + 0x98]
subss xmm4, dword [esp + 0x34]
subss xmm3, xmm2
movaps xmm1, xmm6
mulss xmm1, xmm7
movaps xmm2, xmm4
movaps xmm0, xmm3
mulss xmm2, xmm7
mulss xmm0, dword [esp + 0x50]
mulss xmm6, xmm3
subss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x50]
mulss xmm5, xmm4
subss xmm1, xmm0
movss xmm0, dword [0x4c194c]
movaps xmm7, xmm0
subss xmm5, xmm6
divss xmm1, xmm2
divss xmm5, xmm2
movss xmm2, dword [0x4c1888]
subss xmm7, xmm1
movss dword [esp + 0x1c], xmm2
comiss xmm2, xmm7
movaps xmm3, xmm7
subss xmm3, xmm5
jbe 0x46dd68
movaps xmm1, xmm2
jmp 0x46dd6f
movaps xmm1, xmm0
minss xmm1, xmm7
divss xmm3, xmm1
movss dword [esp + 0x4c], xmm1
comiss xmm2, xmm3
ja 0x46dd8b
movaps xmm2, xmm0
minss xmm2, xmm3
movss dword [esp + 0x1c], xmm2
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
jmp 0x46dd9f
mov al, byte [esp + 0xe]
mov byte [esp + 0x1a], al
mov eax, dword [0x4c9c24]
test byte [esp + 0x10], 8
jne 0x46de1b
cmp byte [eax + 0x3717], 0
mov ecx, dword [eax + 0x3e38]
mov dword [esp + 0x40], ecx
je 0x46de1b
xor edx, edx
mov ecx, 0x282
call fcn.00437000
test al, al
je 0x46de1b
mov ecx, 0x20
call fcn.0042ac30
test al, al
je 0x46de1b
push ecx
mov ecx, dword [esp + 0x44]
push str.context
call fcn.0042a650
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46de0f
push 0x2821
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.id___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov edx, 1
mov ecx, eax
call fcn.00438c40
mov ecx, dword [0x4c9c24]
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
cmp dword [esp + 0x9c], 0x10000
jne 0x46e230
mov eax, dword [ecx + 0x3e38]
lea edx, [esp + 0x78]
movss xmm0, dword [esp + 0xdc]
push ecx
movss dword [esp + 0x80], xmm4
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e38]
mov ecx, 0x4af5f4
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [eax + 0xf0], xmm3
mov byte [eax + 0x12d], 1
movss dword [esp + 0x7c], xmm0
call fcn.00460470
mov eax, dword [0x4c9c24]
add esp, 4
mov ecx, dword [eax + 0x3e84]
test ecx, ecx
je 0x46e230
cmp ecx, dword [eax + 0x46ac]
jne 0x46e230
mov eax, dword [esp + 0x28]
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [0x4c194c]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xdbc]
subss xmm2, dword [esp + 0x30]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x46e218
xorps xmm3, xmm3
jmp 0x46e21f
test eax, 0x2000000
je 0x46de1b
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0x78]
push ecx
mov ecx, 0x4bf834
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x80], xmm0
call fcn.00460470
mov ecx, dword [0x4c9c24]
add esp, 4
mov dword [esp + 0x40], ecx
mov eax, dword [ecx + 0x3e84]
test eax, eax
je 0x46e09e
cmp eax, dword [ecx + 0x46ac]
jne 0x46e09e
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x4c194c]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xdb8]
subss xmm3, dword [esp + 0x60]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x46df84
movss dword [esp + 0x1c], xmm0
jmp 0x46df91
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x1c], xmm2
movss xmm2, dword [eax + 0xdbc]
subss xmm2, dword [esp + 0x30]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x46dfad
xorps xmm3, xmm3
jmp 0x46dfb4
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x5960]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x4c], xmm2
test eax, eax
jne 0x46dff8
push 0x1378
push str.d:CProjectsSCUMSX2_srcimguiimgui_widgets.cpp
push str.g.ColorEditCurrentID___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x4c]
add esp, 0xc
movss xmm1, dword [0x4c194c]
xorps xmm0, xmm0
mov eax, dword [ecx + 0x5960]
cmp dword [ecx + 0x5964], eax
jne 0x46e096
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x46e01c
xorps xmm3, xmm3
jmp 0x46e023
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm4
movss xmm6, dword [0x4c1a6c]
movss xmm2, dword [0x4c18fc]
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x46e049
xorps xmm3, xmm3
jmp 0x46e050
movaps xmm3, xmm1
minss xmm3, xmm4
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x46e06b
xorps xmm1, xmm1
jmp 0x46e06f
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x5970], eax
jne 0x46e096
movss xmm0, dword [ecx + 0x5968]
movss dword [esp + 0x14], xmm0
mov al, 1
mov byte [esp + 0xe], al
jmp 0x46e0a2
mov al, byte [esp + 0xe]
test byte [esp + 0x10], 8
mov byte [esp + 0xf], al
mov byte [esp + 0x1b], al
jne 0x46e126
mov eax, dword [0x4c9c24]
cmp byte [eax + 0x3717], 0
mov ecx, dword [eax + 0x3e38]
mov dword [esp + 0x40], ecx
je 0x46e126
xor edx, edx
mov ecx, 0x282
call fcn.00437000
test al, al
je 0x46e126
mov ecx, 0x20
call fcn.0042ac30
test al, al
je 0x46e126
push ecx
mov ecx, dword [esp + 0x44]
push str.context
call fcn.0042a650
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46e11a
push 0x2821
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.id___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov edx, 1
mov ecx, eax
call fcn.00438c40
mov ecx, dword [0x4c9c24]
lea edx, [esp + 0x78]
movss xmm0, dword [esp + 0xc0]
push ecx
mov eax, dword [ecx + 0x3e38]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e38]
mov ecx, 0x4bf838
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x30]
mov byte [eax + 0x12d], 1
movss dword [esp + 0x80], xmm0
call fcn.00460470
mov ecx, dword [0x4c9c24]
add esp, 4
mov eax, dword [ecx + 0x3e84]
test eax, eax
je 0x46de21
mov dl, byte [esp + 0xe]
mov byte [esp + 0xf], dl
cmp eax, dword [ecx + 0x46ac]
jne 0x46de21
mov eax, dword [esp + 0x28]
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
movaps xmm0, xmm4
movss xmm1, dword [0x4c194c]
movss xmm2, dword [eax + 0xdbc]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x46e1fb
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x1b]
movss dword [esp + 0x14], xmm0
mov byte [esp + 0x1a], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0xf], al
jmp 0x46de2d
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov byte [esp + 0xe], 1
subss xmm0, xmm3
movss dword [edi + 0xc], xmm0
call fcn.00434530
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x50], ecx
jne 0x46e268
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.00437990
call fcn.00437c50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
and eax, 0x80
mov dword [esp + 0x40], eax
jne 0x46e2cc
mov edx, dword [esp + 0x84]
mov edi, edx
cmp edx, 0xffffffff
jae 0x46e2c5
mov al, byte [edi]
test al, al
je 0x46e296
cmp al, 0x23
jne 0x46e290
cmp byte [edi + 1], al
je 0x46e296
inc edi
cmp edi, 0xffffffff
jb 0x46e281
cmp edx, edi
je 0x46e2c5
test ecx, ecx
je 0x46e2b2
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.00437990
mov ecx, dword [esp + 0x84]
mov edx, edi
push 0
call fcn.0045f160
add esp, 4
mov edi, dword [esp + 0x90]
cmp dword [esp + 0x50], 0
jne 0x46e46f
mov ecx, 0x10
call fcn.00434480
cmp dword [esp + 0x6c], 0
je 0x46e2f2
movss xmm1, dword [0x4c194c]
jmp 0x46e2f7
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0x40], 0
movss xmm0, dword [edi]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x110], xmm0
movss dword [esp + 0x114], xmm1
je 0x46e33d
push str.Current
call fcn.0045f880
add esp, 4
movss xmm1, dword [esp + 0x88]
lea ecx, [esp + 0x78]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x108]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x4c19b4]
push ecx
push eax
mov ecx, str.current
mov dword [esp + 0xc4], eax
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0x84], xmm0
call fcn.0046fd40
add esp, 8
cmp dword [esp + 0x5c], 0
je 0x46e465
push str.Original
call fcn.0045f880
mov eax, dword [esp + 0x60]
add esp, 4
cmp dword [esp + 0x6c], 0
je 0x46e3d0
movss xmm1, dword [0x4c194c]
jmp 0x46e3d5
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xf8]
movss dword [esp + 0xf8], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x78]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x40]
push eax
push dword [esp + 0xc0]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0xf0]
movss dword [esp + 0x10c], xmm1
movss dword [esp + 0x84], xmm0
call fcn.0046fd40
add esp, 8
test al, al
je 0x46e465
push dword [esp + 0xe0]
push dword [esp + 0x60]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
call fcn.00434530
call fcn.00437db0
cmp byte [esp + 0x1a], 0
jne 0x46e481
cmp byte [esp + 0xf], 0
je 0x46e56b
cmp dword [esp + 0x8c], 0
je 0x46e594
movss xmm2, dword [esp + 0x4c]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x1c]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00426040
mov ecx, dword [esp + 0x2c]
add esp, 4
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x4c194c]
mov eax, dword [ecx + 0x5960]
movss dword [ecx + 0x5968], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [ecx + 0x596c], xmm0
xorps xmm0, xmm0
mov dword [ecx + 0x5964], eax
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x46e501
xorps xmm3, xmm3
jmp 0x46e508
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm4
movss xmm6, dword [0x4c1a6c]
movss xmm2, dword [0x4c18fc]
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x46e52e
xorps xmm3, xmm3
jmp 0x46e535
movaps xmm3, xmm1
minss xmm3, xmm4
mulss xmm3, xmm6
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x46e550
xorps xmm1, xmm1
jmp 0x46e554
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x5970], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1b], 0
test al, 0x20
jne 0x46e8ef
cmp dword [esp + 0x9c], 0x10000
jne 0x46e5c1
movss xmm0, dword [esp + 0xdc]
jmp 0x46e5ca
mov eax, dword [esp + 0x10]
test eax, 0x10000000
je 0x46e56f
movss xmm0, dword [esp + 0x14]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [edi + 8], xmm0
jmp 0x46e56f
movss xmm0, dword [esp + 0xc0]
addss xmm0, dword [esp + 0x88]
subss xmm0, dword [esp + 0x60]
call fcn.00437a40
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x84], edx
test eax, 0x100000
jne 0x46e60c
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x24], ecx
jne 0x46e66d
mov dword [esp + 0x24], ecx
jmp 0x46e615
and eax, 0x700000
mov dword [esp + 0x24], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.0046bcd0
add esp, 4
test al, al
je 0x46e65e
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x3e84], 0
je 0x46e64a
cmp byte [eax + 0x3e91], 0
mov byte [esp + 0x1b], 1
je 0x46e64f
mov byte [esp + 0x1b], 0
mov ecx, dword [esp + 0x24]
mov byte [esp + 0xe], 1
mov dword [esp + 0x24], ecx
jmp 0x46e662
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x46e678
test ecx, ecx
jne 0x46e69a
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.0046bcd0
mov ecx, dword [esp + 0x28]
add esp, 4
or byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x46e6a5
test ecx, ecx
jne 0x46e6c5
mov eax, dword [esp + 0x84]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.0046bcd0
add esp, 4
or byte [esp + 0xe], al
call fcn.00437ae0
cmp byte [esp + 0x1b], 0
lea ecx, [edi + 4]
lea edx, [edi + 8]
xorps xmm2, xmm2
je 0x46e7c8
cmp dword [esp + 0x8c], 0
je 0x46e7c8
movss xmm3, dword [ecx]
xorps xmm6, xmm6
movss xmm5, dword [edx]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x46e711
movss xmm6, dword [0x4c1ae0]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x46e72e
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x4c1acc]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x4c1874]
movaps xmm7, xmm1
mulss xmm1, dword [0x4c19e4]
divss xmm7, xmm0
addss xmm1, dword [0x4c1874]
divss xmm3, xmm1
addss xmm3, xmm6
movaps xmm0, xmm3
call fcn.004231d0
comiss xmm2, xmm0
jb 0x46e7c8
movss xmm3, dword [esp + 0x14]
comiss xmm3, xmm2
jbe 0x46e7c8
comiss xmm2, xmm4
jb 0x46e8d0
movss xmm0, dword [esp + 0x4c]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x46e8d0
movss xmm1, dword [esp + 0x1c]
movaps xmm2, xmm0
mulss xmm2, dword [0x4c18fc]
push edx
mov edx, ecx
movaps xmm0, xmm3
mov ecx, edi
call fcn.00426040
add esp, 4
lea ecx, [edi + 4]
xorps xmm2, xmm2
lea edx, [edi + 8]
mov eax, dword [esp + 0x10]
cmp byte [esp + 0xe], 0
je 0x46ea6c
cmp dword [esp + 0x8c], 0
je 0x46e8fd
movss xmm5, dword [edi]
movss xmm1, dword [ecx]
movaps xmm3, xmm5
movss xmm0, dword [edx]
movaps xmm4, xmm1
comiss xmm0, xmm1
movss dword [esp + 0x3c], xmm5
movaps xmm6, xmm0
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x4c], xmm3
jbe 0x46e825
movss xmm2, dword [0x4c1ae0]
movaps xmm4, xmm0
movaps xmm6, xmm1
comiss xmm4, xmm5
jbe 0x46e845
movss xmm0, dword [0x4c1acc]
movaps xmm3, xmm4
subss xmm0, xmm2
movss dword [esp + 0x4c], xmm3
movaps xmm4, xmm5
movaps xmm2, xmm0
movaps xmm0, xmm4
movaps xmm1, xmm3
minss xmm0, xmm6
subss xmm4, xmm6
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x4c19e4]
addss xmm0, dword [0x4c1874]
divss xmm4, xmm0
addss xmm4, xmm2
movaps xmm0, xmm4
call fcn.004231d0
movss dword [esp + 0x24], xmm0
lea eax, [esp + 0x50]
movaps xmm0, xmm3
movss dword [esp + 0x50], xmm3
addss xmm0, dword [0x4c1874]
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea edx, [esp + 0x2c]
divss xmm1, xmm0
movss dword [esp + 0x24], xmm1
call fcn.0046bb90
movss xmm4, dword [esp + 0x2c]
add esp, 8
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x1c], xmm0
jmp 0x46ea72
comiss xmm2, xmm7
jb 0x46e7c8
movss xmm1, dword [esp + 0x1c]
movaps xmm2, xmm4
mulss xmm1, dword [0x4c18fc]
jmp 0x46e7af
xorps xmm2, xmm2
lea ecx, [edi + 4]
lea edx, [edi + 8]
jmp 0x46e7cc
test eax, 0x10000000
je 0x46ea6c
movss xmm1, dword [ecx]
movss xmm4, dword [edi]
movss xmm3, dword [edx]
ucomiss xmm1, xmm2
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x1c], xmm1
lahf
movss dword [esp + 0x4c], xmm3
test ah, 0x44
jp 0x46e946
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x3c], xmm3
jmp 0x46ea72
movss xmm1, dword [0x4c194c]
movaps xmm0, xmm4
call fcn.004231f0
movaps xmm1, xmm0
movss xmm6, dword [esp + 0x1c]
divss xmm1, dword [0x4c18d4]
movss xmm2, dword [0x4c194c]
cvttss2si eax, xmm1
movss xmm3, dword [esp + 0x4c]
movaps xmm7, xmm2
movaps xmm4, xmm2
movaps xmm5, xmm2
subss xmm4, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm3
subss xmm1, xmm0
movaps xmm0, xmm6
movss dword [esp + 0x20], xmm4
mulss xmm0, xmm1
subss xmm7, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
mulss xmm7, xmm3
mulss xmm0, xmm6
subss xmm5, xmm0
mulss xmm5, xmm3
movss dword [esp + 0x54], xmm5
cmp eax, 5
ja case.0x46e9cc.5
jmp dword [eax*4 + 0x46fd04]
movss xmm4, dword [esp + 0x14]
movss dword [esp + 0x3c], xmm3
jmp 0x46ea7a
movss dword [esp + 0x20], xmm4
movss xmm4, dword [esp + 0x14]
movss dword [esp + 0x3c], xmm7
movss dword [esp + 0x54], xmm3
jmp 0x46ea7a
movss dword [esp + 0x3c], xmm4
movss xmm4, dword [esp + 0x14]
movss dword [esp + 0x20], xmm5
movss dword [esp + 0x54], xmm3
jmp 0x46ea7a
movss dword [esp + 0x3c], xmm4
movss xmm4, dword [esp + 0x14]
movss dword [esp + 0x54], xmm7
movss dword [esp + 0x20], xmm3
jmp 0x46ea7a
movss dword [esp + 0x54], xmm4
movss xmm4, dword [esp + 0x14]
movss dword [esp + 0x3c], xmm5
movss dword [esp + 0x20], xmm3
jmp 0x46ea7a
movaps xmm1, xmm7
movss dword [esp + 0x54], xmm4
movss xmm4, dword [esp + 0x14]
movaps xmm0, xmm3
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x3c], xmm0
jmp 0x46ea7a
movss xmm4, dword [esp + 0x14]
movss xmm2, dword [0x4c194c]
mov edi, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x3798]
comiss xmm0, xmm1
ja 0x46ea95
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, dword [0x4c1a6c]
movaps xmm1, xmm2
addss xmm0, dword [0x4c18fc]
cvttss2si edx, xmm0
movaps xmm0, xmm4
shl edx, 0x18
mov eax, edx
mov dword [esp + 0xa8], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x24], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x108], ecx
or eax, 0x808080
mov dword [esp + 0x120], ecx
mov dword [esp + 0x50], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xff00ff
mov dword [esp + 0x11c], eax
call fcn.004231f0
movaps xmm1, xmm0
movss xmm2, dword [0x4c194c]
divss xmm1, dword [0x4c18d4]
movaps xmm4, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movaps xmm0, xmm2
subss xmm4, xmm1
subss xmm0, xmm4
cmp eax, 5
ja case.0x46eb65.5
jmp dword [eax*4 + 0x46fd1c]
movaps xmm5, xmm0
xorps xmm0, xmm0
jmp 0x46ebae
movaps xmm3, xmm4
movaps xmm5, xmm2
xorps xmm0, xmm0
jmp 0x46eb9b
xorps xmm3, xmm3
movaps xmm5, xmm2
jmp 0x46ebb1
xorps xmm3, xmm3
movaps xmm5, xmm4
movaps xmm0, xmm2
jmp 0x46ebb1
movaps xmm3, xmm0
xorps xmm5, xmm5
movaps xmm0, xmm2
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x46ebb4
xorps xmm4, xmm4
jmp 0x46ebbb
xorps xmm5, xmm5
movaps xmm0, xmm4
movaps xmm3, xmm2
xorps xmm1, xmm1
movaps xmm4, xmm2
minss xmm4, xmm3
comiss xmm1, xmm5
movss xmm7, dword [0x4c1a6c]
movss xmm3, dword [0x4c18fc]
mulss xmm4, xmm7
addss xmm4, xmm3
cvttss2si ecx, xmm4
jbe 0x46ebe1
xorps xmm4, xmm4
jmp 0x46ebe8
movaps xmm4, xmm2
minss xmm4, xmm5
mulss xmm4, xmm7
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm1, xmm0
jbe 0x46ec03
xorps xmm4, xmm4
jmp 0x46ec0a
movaps xmm4, xmm2
minss xmm4, xmm0
movss xmm6, dword [edi + 0x3798]
mulss xmm4, xmm7
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm6
jbe 0x46ec34
movaps xmm4, xmm2
xorps xmm0, xmm0
minss xmm4, xmm6
jmp 0x46ec3e
movaps xmm0, xmm2
minss xmm0, xmm6
movaps xmm4, xmm0
mulss xmm0, xmm7
addss xmm0, xmm3
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x3c]
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm0
mov dword [esp + 0xa4], edx
jbe 0x46ec66
xorps xmm5, xmm5
jmp 0x46ec6d
movaps xmm5, xmm2
minss xmm5, xmm0
movss xmm0, dword [esp + 0x54]
comiss xmm1, xmm0
mulss xmm5, xmm7
addss xmm5, xmm3
cvttss2si ecx, xmm5
jbe 0x46ec89
xorps xmm5, xmm5
jmp 0x46ec90
movaps xmm5, xmm2
minss xmm5, xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm5, xmm7
addss xmm5, xmm3
cvttss2si eax, xmm5
shl eax, 8
or ecx, eax
comiss xmm1, xmm0
jbe 0x46ecb1
xorps xmm5, xmm5
jmp 0x46ecb8
movaps xmm5, xmm2
minss xmm5, xmm0
mulss xmm5, xmm7
addss xmm5, xmm3
cvttss2si eax, xmm5
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm6
jbe 0x46ecd1
xorps xmm4, xmm4
mulss xmm4, xmm7
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x74], 0
mov dword [esp + 0x20], eax
je 0x46f531
movss xmm1, dword [esp + 0x70]
movaps xmm4, xmm3
movss xmm0, dword [esp + 0x68]
mov eax, 0x2aaaaaab
divss xmm4, xmm1
mov esi, dword [esp + 0x80]
addss xmm0, xmm1
cvttss2si ecx, xmm1
movaps xmm5, xmm0
movss dword [esp + 0xbc], xmm4
imul ecx
mulss xmm5, xmm3
movss dword [esp + 0xd8], xmm0
mov eax, 4
movss dword [esp + 0xf8], xmm5
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xf0], ecx
mov dword [esp + 0x5c], eax
nop dword [eax]
movd xmm1, eax
lea eax, [esp + 0xac]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x4c19e4]
divss xmm1, dword [0x4c19e4]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x4c19b8]
mulss xmm1, dword [0x4c19b8]
subss xmm0, xmm4
addss xmm1, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x78], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x78], xmm1
call fcn.0044ac20
movss xmm0, dword [esp + 0x94]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x2c]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.00449720
movss xmm0, dword [esp + 0x70]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x70]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x68]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x40], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x68]
addss xmm0, dword [esp + 0xc8]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x6c]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x6c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x68]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x74], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x74]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x40]
movss xmm6, dword [esp + 0xe8]
subss xmm3, xmm5
mov eax, dword [esp + 0x5c]
cvtsd2ss xmm4, xmm0
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + eax*4 + 0x108]
mov eax, dword [esi + 0x18]
movss xmm2, dword [0x4c194c]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x68]
movaps xmm7, xmm2
mulss xmm0, xmm3
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
addss xmm4, dword [esp + 0xc8]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
mov dword [esp + 0x74], eax
movzx eax, cl
mov dword [esp + 0x8c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x6c], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + eax*4 + 0x10c]
movzx eax, cl
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x40], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x6c]
shr ecx, 0x10
mov dword [esp + 0x84], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x74]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x70]
mov dword [esp + 0xe8], ecx
cmp edx, edi
jae 0x46f039
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x40]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x46ef9f
xorps xmm2, xmm2
jmp 0x46efa3
minss xmm2, xmm1
movd xmm1, dword [esp + 0x70]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x6c]
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
shl ecx, 8
mulss xmm0, xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x8c]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x4c194c]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x84]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0xe8]
cmp edx, edi
jb 0x46ef71
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x5c]
movss xmm4, dword [esp + 0xbc]
inc eax
movss xmm5, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x5c], eax
cmp eax, 6
jl 0x46ed70
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x4c19a0]
mulss xmm0, dword [0x4c19b8]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x68], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1a], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0xd8]
movss xmm1, dword [esp + 0x94]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x68]
mulss xmm2, xmm3
mulss xmm0, dword [0x4c18fc]
mulss xmm2, dword [0x4c18fc]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x74], xmm3
addss xmm2, dword [esp + 0xc8]
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm2
je 0x46f10b
mulss xmm1, dword [0x4c190c]
jmp 0x46f113
mulss xmm1, dword [0x4c1900]
movaps xmm0, xmm1
movss dword [esp + 0x94], xmm1
divss xmm0, dword [0x4c1968]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x46f137
mov esi, 9
jmp 0x46f142
cmp esi, 0x20
mov eax, 0x20
cmovg esi, eax
mov edi, dword [esp + 0x80]
lea eax, [esp + 0x60]
push esi
push dword [esp + 0xa8]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.0044beb0
movss xmm2, dword [esp + 0x94]
lea eax, [esp + 0x60]
addss xmm2, dword [0x4c194c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x58]
push eax
call fcn.0044bdf0
movss xmm2, dword [esp + 0x94]
lea eax, [esp + 0x60]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x2c]
push esi
push eax
call fcn.0044bdf0
movss xmm3, dword [esp + 0x68]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x74]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x34]
movaps xmm0, xmm5
mov eax, dword [0x4c9c24]
movss xmm6, dword [esp + 0xc4]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xcc]
mulss xmm4, dword [esp + 0xd0]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xd4]
addss xmm2, xmm6
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x80], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x3c]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xa0]
mulss xmm5, dword [esp + 0xd8]
addss xmm2, xmm7
movss dword [esp + 0x94], xmm2
movss dword [esp + 0x84], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xa0]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xd8]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x74], xmm4
addss xmm3, xmm7
movss dword [esp + 0xb4], xmm4
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0x3bd0]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 0x3bd4]
movss dword [esp + 0x70], xmm3
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0x48], xmm0
mov ecx, edi
call fcn.004494e0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0x70]
movss xmm3, dword [esp + 0x8c]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x74]
movss xmm1, dword [esp + 0x40]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0xa4]
movss xmm5, dword [esp + 0x34]
movss xmm4, dword [esp + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x6c]
movss xmm6, dword [esp + 0x68]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0xa8]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
push ecx
mov word [eax], cx
mov ecx, edi
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov dword [esp], 0x3fc00000
push dword [esp + 0x54]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0xb4]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0044bbc0
movss xmm2, dword [0x4c194c]
xorps xmm1, xmm1
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x4c]
comiss xmm1, xmm0
jbe 0x46f49c
xorps xmm4, xmm4
jmp 0x46f4a3
movaps xmm4, xmm2
minss xmm4, xmm0
movss xmm0, dword [esp + 0x1c]
comiss xmm1, xmm0
jbe 0x46f4b3
xorps xmm3, xmm3
jmp 0x46f4ba
movaps xmm3, xmm2
minss xmm3, xmm0
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x6c]
movss xmm2, dword [esp + 0x8c]
subss xmm2, dword [esp + 0x68]
mov esi, dword [esp + 0xd4]
mov eax, dword [esp + 0x20]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x34]
addss xmm2, dword [esp + 0x68]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x38]
subss xmm0, xmm2
movss dword [esp + 0x54], xmm3
movss xmm3, dword [0x4c18fc]
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x58], xmm0
jmp 0x46f8a4
test dword [esp + 0x10], 0x2000000
je 0x46f89d
mov eax, dword [esp + 0x24]
movss xmm0, dword [esp + 0xe4]
mov ecx, dword [esp + 0x80]
push eax
push edx
push edx
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x38]
push eax
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x74]
push eax
movss dword [esp + 0x74], xmm0
movss dword [esp + 0xc8], xmm0
call fcn.0044b8f0
mov ecx, dword [esp + 0xa8]
lea eax, [esp + 0xac]
movss xmm0, dword [esp + 0xe4]
push ecx
push ecx
mov ecx, dword [esp + 0x88]
push 0
push 0
push eax
movss dword [esp + 0xc0], xmm0
lea eax, [esp + 0x74]
movss xmm0, dword [esp + 0x70]
push eax
movss dword [esp + 0xc8], xmm0
call fcn.0044b8f0
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x38], xmm0
xorps xmm0, xmm0
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.00428720
movss xmm3, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [0x4c194c]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x46f625
xorps xmm2, xmm2
jmp 0x46f62c
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x2c]
movss xmm7, dword [esp + 0x60]
movss xmm3, dword [0x4c18fc]
mulss xmm2, xmm6
movss xmm4, dword [0x4c19a0]
movss xmm5, dword [esp + 0xe4]
addss xmm2, xmm7
addss xmm7, xmm4
subss xmm5, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm7, xmm2
jbe 0x46f67d
movss dword [esp + 0x54], xmm7
jmp 0x46f690
comiss xmm2, xmm5
jbe 0x46f68a
movss dword [esp + 0x54], xmm5
jmp 0x46f690
movss dword [esp + 0x54], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x46f6a3
xorps xmm1, xmm1
jmp 0x46f6a7
minss xmm1, xmm2
movss xmm5, dword [esp + 0x30]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x5c]
subss xmm0, xmm4
addss xmm1, xmm5
addss xmm1, xmm3
cvttss2si eax, xmm1
movaps xmm1, xmm5
addss xmm1, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x46f6e2
movss dword [esp + 0x58], xmm1
jmp 0x46f6f5
comiss xmm2, xmm0
jbe 0x46f6ef
movss dword [esp + 0x58], xmm0
jmp 0x46f6f5
movss dword [esp + 0x58], xmm2
movss xmm0, dword [esp + 0xd8]
movaps xmm1, xmm6
divss xmm1, dword [0x4c19e4]
mov esi, dword [esp + 0x80]
xor ecx, ecx
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x78], xmm0
mov eax, dword [esp + ecx*4 + 0x10c]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xb4]
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0xb8], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x110]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x94], xmm0
call fcn.0044b8f0
movss xmm1, dword [esp + 0x74]
mov ecx, edi
movss xmm5, dword [esp + 0x30]
cmp ecx, 6
jl 0x46f730
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0xc0]
push dword [esp + 0x38]
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm5
push dword [esp + 0x38]
movss dword [esp + 0x6c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.00428720
mov esi, dword [esp + 0xe4]
movss xmm1, dword [esp + 0x98]
addss xmm1, dword [0x4c19a0]
mov edi, dword [esp + 0x90]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm2
addss xmm0, dword [0x4c194c]
push dword [esp + 0x48]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xd4]
subss xmm0, dword [0x4c194c]
push dword [esp + 0x48]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x44]
addss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x4c18fc]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x40]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.0046cfd0
movss xmm3, dword [0x4c18fc]
add esp, 0x20
mov eax, dword [esp + 0x20]
jmp 0x46f8a4
mov edi, dword [esp + 0x80]
cmp byte [esp + 0xf], 0
je 0x46f8be
movss xmm2, dword [0x4c19f0]
movss dword [esp + 0xa0], xmm2
jmp 0x46f8c6
movss xmm2, dword [0x4c19e4]
test eax, 0xff000000
je 0x46f903
comiss xmm3, xmm2
ja 0x46f903
push 0xb
push ecx
lea eax, [esp + 0x5c]
mov dword [esp], 0x40b84e89
push eax
xorps xmm3, xmm3
mov ecx, edi
call fcn.0044ac20
push dword [esp + 0x20]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.0044a410
mov dword [edi + 0x54], 0
test dword [esp + 0x50], 0xff000000
movss xmm1, dword [esp + 0xa0]
movss xmm0, dword [0x4c18fc]
movaps xmm2, xmm1
addss xmm2, dword [0x4c194c]
je 0x46f97e
comiss xmm0, xmm2
ja 0x46f97e
push 0xb
push ecx
subss xmm2, xmm0
mov dword [esp], 0x40b84e89
lea eax, [esp + 0x5c]
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.0044ac20
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x58]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.00449720
movss xmm0, dword [0x4c18fc]
movss xmm1, dword [esp + 0xa0]
mov dword [edi + 0x54], 0
test dword [esp + 0x24], 0xff000000
je 0x46f9cf
comiss xmm0, xmm1
ja 0x46f9cf
push 0xb
subss xmm1, xmm0
xorps xmm3, xmm3
push ecx
lea eax, [esp + 0x5c]
mov dword [esp], 0x40b84e89
push eax
mov ecx, edi
movaps xmm2, xmm1
call fcn.0044ac20
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x2c]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.00449720
mov dword [edi + 0x54], 0
cmp dword [esp + 0x9c], 0x10000
jne 0x46fb9a
mov edx, dword [esp + 0x90]
xorps xmm1, xmm1
movss xmm2, dword [edx + 0xc]
comiss xmm1, xmm2
jbe 0x46f9ff
movss dword [esp + 0xd4], xmm1
jmp 0x46fa14
movss xmm0, dword [0x4c194c]
minss xmm0, xmm2
movss dword [esp + 0xd4], xmm0
movss xmm3, dword [esp + 0xdc]
xor edx, edx
movss xmm0, dword [esp + 0x30]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
movss dword [esp + 0xb0], xmm0
addss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
movss dword [esp + 0xbc], xmm2
subss xmm2, xmm3
movss dword [esp + 0xc0], xmm0
push dword [esp + 0xc0]
movss dword [esp + 0xb8], xmm3
xorps xmm3, xmm3
push dword [esp + 0xc0]
mov edi, dword [esp + 0xbc]
push dword [esp + 0xc0]
mulss xmm2, dword [0x4c18fc]
push edi
push 0
call fcn.00451930
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.0044b8f0
push dword [esp + 0xb8]
xorps xmm0, xmm0
push dword [esp + 0xb8]
push dword [esp + 0xb8]
push edi
call fcn.00428720
movss xmm1, dword [0x4c194c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x90]
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm2
addss xmm0, xmm1
movss xmm2, dword [esi + 0x3798]
push dword [esp + 0x48]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xf0]
subss xmm0, xmm1
subss xmm1, dword [esp + 0xe8]
push dword [esp + 0x48]
movss dword [esp + 0x78], xmm0
mulss xmm1, dword [esp + 0x44]
addss xmm1, dword [esp + 0x48]
addss xmm1, dword [0x4c18fc]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0xa0]
addss xmm1, dword [0x4c19a0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.0046cfd0
add esp, 0x20
jmp 0x46fb9e
mov esi, dword [esp + 0x28]
call fcn.00437db0
cmp byte [esp + 0xe], 0
je 0x46fc65
mov edi, dword [esp + 0xe0]
lea ecx, [esp + 0x124]
mov edx, dword [esp + 0x90]
sub edi, 4
jb 0x46fbd9
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x46fbe2
add ecx, 4
add edx, 4
sub edi, 4
jae 0x46fbc8
cmp edi, 0xfffffffc
je 0x46fc60
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x46fc0f
cmp edi, 0xfffffffd
je 0x46fc60
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x46fc0f
cmp edi, 0xfffffffe
je 0x46fc60
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x46fc0f
cmp edi, 0xffffffff
je 0x46fc60
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x46fc60
mov eax, dword [esi + 0x46ac]
test eax, eax
je 0x46fc65
mov edi, dword [0x4c9c24]
mov ecx, dword [edi + 0x3e84]
cmp ecx, eax
je 0x46fc4e
test ecx, ecx
je 0x46fc4e
cmp byte [edi + 0x4940], 0
jne 0x46fc4e
push 0xef0
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.g.ActiveId__id__g.ActiveId__0__g.DragDropActive
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
or dword [edi + 0x46b4], 4
mov word [edi + 0x3e94], 0x101
jmp 0x46fc65
mov byte [esp + 0xe], 0
cmp dword [esp + 0xf4], 0
jne 0x46fc79
mov dword [esi + 0x5960], 0
mov eax, dword [0x4c9c24]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [eax + 0x3e38]
cmp dword [esi + 0xe0], 1
jg 0x46fca7
push 0x1d85
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.window__IDStack.Size___1
call edi
add esp, 0xc
mov ecx, dword [esi + 0xe0]
test ecx, ecx
jg 0x46fccb
push 0x714
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.Size___0
call edi
mov ecx, dword [esi + 0xe0]
add esp, 0xc
mov al, byte [esp + 0xe]
dec ecx
mov dword [esi + 0xe0], ecx
mov ecx, dword [esp + 0x134]
pop edi
pop esi
xor ecx, esp
call fcn.004a7a88
mov esp, ebp
pop ebp
ret