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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cf98
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push esi
push edi
mov eax, dword [0x58829c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x154]
push eax
mov edx, dword [eax]
mov eax, dword [edx + 0xc0]
call eax
mov ecx, dword [edi + 0x90]
lea eax, [ebp - 0x3c]
push eax
fstp dword [ebp - 0x10]
call fcn.004cacf0
mov dword [ebp - 4], 0
mov eax, 1
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x1c], eax
cmp esi, 0x7d3
jne 0x4da90c
xor ecx, ecx
movzx eax, al
cmp dword [edi + 0xd4], ecx
cmove eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0xdc], 0
je 0x4daa6f
movss xmm3, dword [ebp - 0x10]
movss xmm4, dword [edi + 0x10]
movss xmm5, dword [0x57748c]
mulss xmm3, dword [0x5778f8]
subss xmm5, xmm4
movss xmm2, dword [0x577e90]
andps xmm3, xmm2
movaps xmm0, xmm3
movaps xmm1, xmm5
andps xmm0, xmm2
andps xmm1, xmm2
comiss xmm0, xmm1
xorps xmm0, xmm0
jb 0x4da95f
mov dword [edi + 0x10], 0x3c23d70a
jmp 0x4da98b
comiss xmm0, xmm5
jbe 0x4da96e
movss xmm0, dword [0x577c44]
jmp 0x4da976
movss xmm0, dword [0x577570]
mulss xmm3, xmm0
movss dword [0x58d8f4], xmm0
addss xmm4, xmm3
movss dword [edi + 0x10], xmm4
movss xmm0, dword [edi + 0x16c]
movss dword [ebp + 0x14], xmm0
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [edi + 0x170]
mov dword [ebp - 0x60], vtable.phVector2d.0
movss dword [ebp + 0xc], xmm0
movss dword [ebp - 0x58], xmm0
mov byte [ebp - 4], 1
mov esi, dword [edi + 0xdc]
mov ecx, dword [esi + 0x24]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
call eax
fstp dword [ebp + 0x10]
movss xmm0, dword [ebp + 0x10]
addss xmm0, dword [esi + 0x50]
comiss xmm0, dword [esi + 0x54]
movss dword [esi + 0x50], xmm0
jb 0x4da9f4
mov ecx, esi
call fcn.00401c30
mov dword [esi + 0x50], 0
mov esi, dword [edi + 0xdc]
push 0xffffffffffffffff
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
mov ecx, dword [ecx + eax*4]
call fcn.00542200
movss xmm0, dword [esi + 0x60]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x5c]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x58]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp + 0xc]
addss xmm0, dword [0x577570]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp], xmm0
call fcn.00541f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
movss xmm1, dword [edi + 0x10]
mov ecx, dword [edi + 0x8c]
call fcn.004d7620
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x24], eax
je 0x4dbaa3
movss xmm1, dword [0x57753c]
movss dword [ebp + 0x10], xmm1
cmp esi, 0x7d3
jne 0x4daac7
mov eax, dword [edi + 0xd4]
test eax, eax
jne 0x4daab8
movss xmm1, dword [0x5774e8]
movss dword [ebp + 0x10], xmm1
jle 0x4daac7
movss xmm1, dword [0x577508]
movss dword [ebp + 0x10], xmm1
movss xmm2, dword [0x5777c8]
xorps xmm0, xmm0
movss xmm3, dword [0x577494]
movss dword [ebp + 0xc], xmm0
cmp esi, 0x425
jne 0x4dab04
mov eax, dword [edi + 0x228]
sub eax, 2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
mulss xmm0, xmm3
movss dword [ebp + 0xc], xmm0
mov ecx, dword [edi + 0x98]
test ecx, ecx
je 0x4dab53
sub esp, 0x14
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0x170]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x16c]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm2, dword [0x5777c8]
movss xmm3, dword [0x577494]
cmp dword [edi + 0x20], 0x426
jne 0x4dad37
mov dword [ebp - 0x60], vtable.phVector2d.0
xor ecx, ecx
mov byte [ebp - 4], 2
lea esi, [edi + 0x22c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
lea esp, [esp]
lea eax, [ecx - 2]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
mulss xmm0, xmm3
movss dword [ebp + 0xc], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
mulss xmm0, xmm3
movss dword [ebp - 0x24], xmm0
call sub.msvcr120.dll___libm_sse2_cosf
movss dword [ebp + 0x14], xmm0
movss xmm0, dword [ebp - 0x24]
call sub.msvcr120.dll___libm_sse2_sinf
cmp dword [esi], 1
xorps xmm4, xmm4
movss xmm2, dword [ebp + 0x14]
movaps xmm1, xmm0
movaps xmm3, xmm2
mulss xmm1, xmm4
mulss xmm2, xmm4
subss xmm3, xmm1
addss xmm2, xmm0
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x5c], xmm3
movss dword [ebp + 0x14], xmm2
movss dword [ebp - 0x58], xmm2
jne 0x4dac84
movss xmm0, dword [edi + 0x170]
mov esi, dword [edi + 0x23c]
addss xmm0, xmm2
push 0xffffffffffffffff
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [edi + 0x16c]
mov ecx, dword [ecx + eax*4]
addss xmm0, xmm3
movss dword [ebp - 0x20], xmm0
call fcn.00542200
movss xmm0, dword [ebp + 0x10]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm2, dword [ebp + 0x14]
movss xmm3, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
cmp dword [esi], 2
jne 0x4dad0d
movss xmm0, dword [edi + 0x170]
mov esi, dword [edi + 0x240]
addss xmm0, xmm2
push 0xffffffffffffffff
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
movss dword [ebp + 0x14], xmm0
movss xmm0, dword [edi + 0x16c]
mov ecx, dword [ecx + eax*4]
addss xmm0, xmm3
movss dword [ebp - 0x24], xmm0
call fcn.00542200
movss xmm0, dword [ebp + 0x10]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
call fcn.00541f90
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add esi, 4
movss xmm2, dword [0x5777c8]
inc ecx
movss xmm3, dword [0x577494]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
cmp ecx, 4
jl 0x4dab80
mov byte [ebp - 4], 0
cmp dword [edi + 0x20], 0x427
movss xmm7, dword [0x577570]
jne 0x4db11f
movss xmm2, dword [ebp - 0x10]
mov eax, dword [edi + 0x244]
mulss xmm2, dword [0x577b90]
dec eax
xor ecx, ecx
mov dword [ebp - 0x20], eax
movss xmm5, dword [0x577e90]
lea eax, [edi + 0x278]
movss xmm6, dword [0x577c44]
andps xmm2, xmm5
mov edi, edi
movaps xmm0, xmm2
movss xmm4, dword [eax]
andps xmm0, xmm5
cmp ecx, dword [edi + 0x248]
jge 0x4dadbc
movaps xmm3, xmm4
xorps xmm3, xmmword [0x577ec0]
movaps xmm1, xmm3
andps xmm1, xmm5
comiss xmm0, xmm1
jb 0x4dadaf
mov dword [eax], 0
jmp 0x4dadf5
xorps xmm0, xmm0
comiss xmm0, xmm3
jbe 0x4daddb
movaps xmm1, xmm6
jmp 0x4dadde
movss xmm3, dword [0x5778b0]
subss xmm3, xmm4
movaps xmm1, xmm3
andps xmm1, xmm5
comiss xmm0, xmm1
jb 0x4dadaf
mov dword [eax], 0x437f0000
jmp 0x4dadf5
movaps xmm1, xmm7
movaps xmm0, xmm2
movss dword [0x58d8f4], xmm1
mulss xmm0, xmm1
addss xmm4, xmm0
movss dword [eax], xmm4
inc ecx
add eax, 4
cmp ecx, 6
jl 0x4dad80
mov esi, dword [edi + 0x250]
movss xmm0, dword [edi + 0x170]
push 0xffffffffffffffff
movss dword [ebp + 0x14], xmm0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss xmm0, dword [edi + 0x16c]
push dword [esi + 0x44]
movss dword [ebp - 0x24], xmm0
mov ecx, dword [ecx + eax*4]
call fcn.00542200
movss xmm0, dword [ebp + 0x10]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
call fcn.00541f90
mov eax, dword [edi + 0x248]
test eax, eax
jns 0x4dae89
mov dword [edi + 0x248], 0
jmp 0x4dae98
cmp eax, 6
jle 0x4dae98
mov dword [edi + 0x248], 6
mov eax, dword [ebp - 0x20]
lea esi, [edi + 0x25c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 6
lea eax, [eax + eax*2]
shl eax, 3
mov dword [ebp + 0x14], eax
jmp 0x4daec0
movss xmm0, dword [0x5778b0]
subss xmm0, dword [esi + 0x1c]
push 0xffffffffffffffff
call fcn.00552a50
shl eax, 0x18
add eax, 0xffffff
push eax
mov eax, dword [edi + 0x254]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx + eax]
call fcn.00542200
movss xmm0, dword [ebp + 0x10]
sub esp, 0x14
mov eax, dword [edi + 0x254]
movss dword [esp + 0x10], xmm0
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0x170]
mov ecx, dword [ecx + eax]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x16c]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm0, dword [esi + 0x1c]
push 0xffffffffffffffff
call fcn.00552a50
shl eax, 0x18
add eax, 0xffffff
push eax
mov eax, dword [edi + 0x258]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx + eax]
call fcn.00542200
movss xmm0, dword [ebp + 0x10]
sub esp, 0x14
mov eax, dword [edi + 0x258]
movss dword [esp + 0x10], xmm0
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0x170]
mov ecx, dword [ecx + eax]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x16c]
movss dword [esp], xmm0
call fcn.00541f90
mov esi, dword [esi]
mov ecx, dword [esi + 0x24]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
call eax
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [esi + 0x50]
comiss xmm0, dword [esi + 0x54]
movss dword [esi + 0x50], xmm0
jb 0x4db031
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
je 0x4db027
cmp dword [esi + 0x40], 0
mov edx, dword [esi + 0x28]
je 0x4db00e
cmp edx, eax
ja 0x4db009
cmp dword [esi + 0x48], 0
jne 0x4db000
mov dword [esi + 0x28], ecx
jmp 0x4db02a
mov dword [esi + 0x4c], 1
jmp 0x4db027
lea eax, [edx - 1]
jmp 0x4db027
cmp edx, ecx
jb 0x4db024
cmp dword [esi + 0x48], 0
je 0x4db027
mov dword [esi + 0x28], ecx
mov dword [esi + 0x4c], 1
jmp 0x4db02a
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
mov dword [esi + 0x50], 0
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [esi]
cmp dword [edx + 0x2c], ecx
jbe 0x4db053
lea ecx, [ecx]
mov eax, dword [edx + 0x18]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [eax + 0x64], 0
cmp ecx, dword [edx + 0x2c]
jb 0x4db040
mov esi, dword [esi]
movss xmm0, dword [edi + 0x170]
push 0xffffffffffffffff
movss dword [ebp - 0x24], xmm0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss xmm0, dword [edi + 0x16c]
push dword [esi + 0x44]
movss dword [ebp - 0x20], xmm0
mov ecx, dword [ecx + eax*4]
call fcn.00542200
movss xmm0, dword [ebp + 0x10]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
call fcn.00541f90
mov esi, dword [ebp - 0x1c]
add dword [ebp + 0x14], 4
add esi, 4
dec dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
jne 0x4daec0
movss xmm0, dword [ebp + 0x10]
sub esp, 0x14
mov ecx, dword [edi + 0x274]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0x170]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x16c]
movss dword [esp], xmm0
call fcn.00541f90
cmp dword [edi + 0x20], 0x7d3
jne 0x4db197
mov ecx, dword [0x58d464]
push 0xff9b9bff
mov eax, dword [ecx + 0x14234]
mov eax, dword [eax]
mov dword [eax + 0x24], 0x3ecccccd
mov ecx, dword [ecx + 0x14234]
mov ecx, dword [ecx]
call fcn.005446c0
push dword [edi + 0xd0]
movss xmm0, dword [edi + 0x170]
addss xmm0, dword [0x577704]
mov eax, dword [0x58d464]
push str.box__d
push 2
sub esp, 8
mov eax, dword [eax + 0x14234]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x16c]
movss dword [esp], xmm0
push dword [eax]
call fcn.00544740
add esp, 0x18
mov eax, dword [edi + 0xe4]
movss xmm3, dword [0x577620]
movss xmm4, dword [0x577724]
test eax, eax
je 0x4db294
mov dword [eax + 0x44], 0xffffffff
mov eax, dword [edi + 0x8c]
movss xmm1, dword [edi + 0x170]
inc eax
mov dword [ebp - 0x60], vtable.phVector2d.0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
mulss xmm2, xmm4
mulss xmm0, dword [0x577730]
addss xmm2, dword [edi + 0x16c]
subss xmm1, xmm0
addss xmm2, dword [0x577708]
subss xmm1, xmm3
subss xmm2, xmm3
addss xmm1, dword [edi + 0x1bc]
movss dword [ebp - 0x5c], xmm2
addss xmm1, dword [0x577570]
movss dword [ebp - 0x58], xmm1
mov byte [ebp - 4], 3
addss xmm1, xmm4
mov esi, dword [edi + 0xe4]
subss xmm2, dword [0x577738]
push 0xffffffffffffffff
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
movss dword [ebp + 0xc], xmm1
movss dword [ebp + 0x14], xmm2
mov ecx, dword [ecx + eax*4]
call fcn.00542200
movss xmm0, dword [ebp + 0x10]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp], xmm0
call fcn.00541f90
mov byte [ebp - 4], 0
mov eax, dword [edi + 0x20]
cmp eax, 0x190
je 0x4db2a5
cmp eax, 0x194
jne 0x4db2e4
movss xmm0, dword [ebp - 0x38]
sub esp, 0xc
mov eax, esp
mov ecx, edi
sub esp, 0xc
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x34]
mov dword [eax], vtable.phVector2d.0
movss dword [eax + 8], xmm0
mov eax, esp
mov dword [eax], vtable.phVector2d.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.004d9840
cmp dword [edi + 0x20], 0x7d1
jne 0x4db86c
mov eax, dword [edi + 0x8c]
movss xmm1, dword [edi + 0x170]
inc eax
mov dword [ebp - 0x60], vtable.phVector2d.0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
mulss xmm2, dword [0x577724]
mulss xmm0, dword [0x577730]
addss xmm2, dword [edi + 0x16c]
subss xmm1, xmm0
addss xmm2, dword [0x577708]
subss xmm1, dword [0x577620]
subss xmm2, dword [0x577620]
addss xmm1, dword [edi + 0x1bc]
movss dword [ebp + 0xc], xmm2
movss dword [ebp - 0x5c], xmm2
addss xmm1, dword [0x577704]
movss dword [ebp + 0x10], xmm1
movss dword [ebp - 0x58], xmm1
mov dword [ebp - 0x54], vtable.phVector2d.0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 5
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
mov ecx, dword [edi + 0xe8]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm0, dword [edi + 0x1cc]
mov ecx, dword [edi + 0xe8]
movss xmm1, dword [ebp + 0x10]
addss xmm1, dword [0x577724]
movss xmm2, dword [ebp + 0xc]
subss xmm2, dword [0x577738]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm1
movss dword [ebp + 0x10], xmm1
movss dword [ebp + 0x14], xmm2
movss dword [esp], xmm2
call fcn.00541f90
mov esi, dword [edi + 0x10c]
test esi, esi
je 0x4db4c4
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
shl eax, 0x18
mov ecx, esi
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm0, dword [0x577514]
mov ecx, dword [edi + 0x10c]
movss xmm1, dword [ebp + 0x10]
mulss xmm0, dword [edi + 0x1cc]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x14]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
mov ecx, dword [edi + 0xec]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm0, dword [edi + 0x1cc]
mov ecx, dword [edi + 0xec]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
mov ecx, dword [edi + 0xf0]
shl eax, 0x18
add eax, 0xffffff
push 0xffffffffffffffff
mov dword [ecx + 0x44], eax
mov esi, dword [edi + 0xf0]
movss xmm0, dword [edi + 0x1c4]
mulss xmm0, dword [edi + 0x1cc]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
movss dword [ebp - 0x24], xmm0
mov ecx, dword [ecx + eax*4]
call fcn.00542200
movss xmm0, dword [ebp - 0x24]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
mov ecx, dword [edi + 0xf4]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm3, dword [ebp + 0xc]
movss xmm1, dword [ebp + 0x10]
subss xmm3, dword [0x577734]
subss xmm1, dword [0x577750]
movss xmm0, dword [edi + 0x1c4]
mulss xmm0, dword [edi + 0x1cc]
movss dword [ebp + 0xc], xmm3
subss xmm3, dword [0x577750]
movss dword [ebp + 0x14], xmm1
mov ecx, dword [edi + 0xf4]
sub esp, 0x14
movss dword [ebp - 0x24], xmm3
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm1
movss dword [esp], xmm3
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
mov ecx, dword [edi + 0xf8]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm0, dword [edi + 0x1cc]
mov ecx, dword [edi + 0xf8]
movss xmm1, dword [ebp + 0xc]
addss xmm1, dword [0x577750]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x14]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss dword [ebp + 0xc], xmm1
movss dword [esp], xmm1
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
mov ecx, dword [edi + 0xfc]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm0, dword [edi + 0x1cc]
mov ecx, dword [edi + 0xfc]
movss xmm1, dword [ebp + 0x10]
addss xmm1, dword [0x577750]
movss xmm2, dword [ebp + 0xc]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm1
movss dword [ebp + 0x10], xmm1
movss dword [esp], xmm2
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
mov ecx, dword [edi + 0x100]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm0, dword [edi + 0x1cc]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
mov ecx, dword [edi + 0x100]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
call fcn.00541f90
mov byte [ebp - 4], 0
cmp byte [edi + 0xc2], 0
je 0x4db907
mov eax, dword [edi + 0xc4]
push 0xffffffffffffffff
mov dword [eax + 0x44], 0xffffffff
movss xmm0, dword [edi + 0x170]
addss xmm0, dword [0x577758]
mov esi, dword [edi + 0xc4]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
movss dword [ebp + 0x10], xmm0
movss xmm0, dword [edi + 0x16c]
subss xmm0, dword [0x577740]
mov ecx, dword [ecx + eax*4]
movss dword [ebp + 0xc], xmm0
call fcn.00542200
movss xmm0, dword [ebp + 0x10]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x10], 0x3ecccccd
mov dword [esp + 0xc], 0x3ecccccd
mov ecx, dword [ecx + eax*4]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp], xmm0
call fcn.00541f90
cmp byte [edi + 0xc8], 0
je 0x4db970
mov ecx, dword [edi + 0xcc]
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00542200
movss xmm0, dword [edi + 0x170]
sub esp, 0x14
addss xmm0, dword [0x577758]
mov ecx, dword [edi + 0xcc]
mov dword [esp + 0x10], 0x3ecccccd
mov dword [esp + 0xc], 0x3ecccccd
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x16c]
subss xmm0, dword [0x577740]
movss dword [esp], xmm0
call fcn.00541f90
mov ecx, dword [0x58d464]
push 0x7dffffff
mov eax, dword [ecx + 0x14234]
mov eax, dword [eax]
mov dword [eax + 0x24], 0x3f000000
mov ecx, dword [ecx + 0x14234]
mov ecx, dword [ecx]
call fcn.005446c0
push dword [edi + 0x8c]
movss xmm0, dword [edi + 0x170]
subss xmm0, dword [0x577754]
mov eax, dword [0x58d464]
push 0x56a6d0
push 2
sub esp, 8
mov eax, dword [eax + 0x14234]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x16c]
movss dword [esp], xmm0
push dword [eax]
call fcn.00544740
add esp, 0x18
cmp dword [edi + 0x20], 0xd6
jne 0x4dba38
push dword [edi + 0xd0]
movss xmm0, dword [edi + 0x170]
subss xmm0, dword [0x577754]
mov eax, dword [0x58d464]
push 0x56a6d0
push 2
sub esp, 8
addss xmm0, dword [0x57777c]
mov eax, dword [eax + 0x14234]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x16c]
movss dword [esp], xmm0
push dword [eax]
call fcn.00544740
add esp, 0x18
cmp dword [edi + 0x20], 0x7d0
jne 0x4dd45a
mov eax, dword [0x58d464]
push 0xffff6464
mov ecx, dword [eax + 0x14234]
mov ecx, dword [ecx]
call fcn.005446c0
movss xmm0, dword [edi + 0x170]
subss xmm0, dword [0x577754]
mov eax, dword [0x58d464]
push 0x573318
push 2
sub esp, 8
mov eax, dword [eax + 0x14234]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x16c]
movss dword [esp], xmm0
push dword [eax]
call fcn.00544740
add esp, 0x14
jmp 0x4dd45a
cmp byte [ebp - 0x1c], 0
je 0x4dd45a
xorps xmm0, xmm0
mov dword [ebp - 0x48], vtable.phVector2d.0
movaps xmm1, xmm0
movss dword [ebp + 0xc], xmm0
movss dword [ebp - 0x44], xmm1
movss dword [ebp - 0x40], xmm0
mov byte [ebp - 4], 6
cmp byte [edi + 8], 0
movss xmm1, dword [0x577c44]
movss xmm2, dword [0x577570]
je 0x4dbb2e
mov eax, dword [0x58d464]
push 1
mov eax, dword [eax + 0x154]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x178]
call eax
movss xmm2, dword [0x577570]
movss xmm1, dword [0x577c44]
test al, al
jne 0x4dbb29
cmp byte [edi + 0xa], al
jne 0x4dbb29
cmp byte [edi + 0xc2], al
jne 0x4dbb29
movaps xmm0, xmm2
movss dword [ebp - 0x44], xmm0
movaps xmm0, xmm1
jmp 0x4dbb2e
movss xmm0, dword [ebp + 0xc]
cmp byte [edi + 0xb1], 0
mov al, byte [edi + 8]
mov byte [edi + 9], al
je 0x4dbb51
cmp byte [edi + 0xb2], 0
jne 0x4dbb51
movaps xmm0, xmm2
movss dword [ebp - 0x44], xmm0
movaps xmm0, xmm1
cmp dword [edi + 0x20], 0xd7
addss xmm0, dword [0x5776d0]
movss dword [ebp + 0xc], xmm0
movss dword [ebp - 0x40], xmm0
jne 0x4dbbf0
mov ecx, dword [edi + 0xe0]
call fcn.00401cc0
mov eax, dword [edi + 0xe0]
mov ecx, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x44]
subss xmm0, dword [0x577620]
mov dword [eax + 0x44], ecx
lea eax, [ebp - 0x6c]
movss xmm1, dword [edi + 0x1bc]
mov ecx, edi
addss xmm1, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x54], vtable.phVector2d.0
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x4c], xmm1
call fcn.004d9500
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.00441d60
mov byte [ebp - 4], 7
movss xmm2, dword [ebp - 0x58]
movss xmm1, dword [ebp - 0x5c]
mov ecx, dword [edi + 0xe0]
mov dword [ebp - 0x6c], vtable.phVector2d.0
call fcn.00401d00
mov byte [ebp - 4], 6
cmp byte [edi + 0xa], 0
movss xmm2, dword [0x577e90]
movss xmm3, dword [ebp - 0x10]
jne 0x4dbc4d
cmp byte [edi + 0xc], 0
jne 0x4dbc4d
cmp byte [edi + 8], 0
lea ecx, [edi + 0x18]
je 0x4dbc2f
movss xmm1, dword [0x577770]
movaps xmm2, xmm3
mulss xmm2, dword [0x5779ec]
call fcn.00444b30
jmp 0x4dbcb2
movss xmm0, dword [ecx]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x4dbcb2
movaps xmm2, xmm3
mulss xmm2, dword [0x5779ec]
call fcn.00444b30
jmp 0x4dbcb2
movss xmm5, dword [edi + 0x18]
movss xmm4, dword [0x5777c0]
mulss xmm3, dword [0x5779ec]
subss xmm4, xmm5
andps xmm3, xmm2
movaps xmm1, xmm4
movaps xmm0, xmm3
andps xmm1, xmm2
andps xmm0, xmm2
comiss xmm0, xmm1
jb 0x4dbc83
mov dword [edi + 0x18], 0x42a00000
jmp 0x4dbcb2
xorps xmm0, xmm0
comiss xmm0, xmm4
jbe 0x4dbc95
movss xmm0, dword [0x577c44]
jmp 0x4dbc9d
movss xmm0, dword [0x577570]
mulss xmm3, xmm0
movss dword [0x58d8f4], xmm0
addss xmm3, xmm5
movss dword [edi + 0x18], xmm3
mov eax, dword [edi + 0x20]
movss xmm0, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x38]
cmp eax, 0x190
je 0x4dbccd
cmp eax, 0x194
jne 0x4dbd08
sub esp, 0xc
mov ecx, edi
mov eax, esp
sub esp, 0xc
movss dword [eax + 8], xmm0
movss xmm0, dword [ebp - 0x44]
mov dword [eax], vtable.phVector2d.0
movss dword [eax + 4], xmm1
mov eax, esp
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp + 0xc]
mov dword [eax], vtable.phVector2d.0
movss dword [eax + 8], xmm0
call fcn.004d9840
mov esi, dword [edi + 0x98]
movss xmm2, dword [0x577474]
test esi, esi
je 0x4dc650
movss xmm0, dword [edi + 0x1c8]
movss xmm1, dword [edi + 0x1d0]
mulss xmm0, xmm2
push 0xffffffffffffffff
mulss xmm1, xmm2
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
shl eax, 0x18
mov ecx, esi
add eax, 0xffffff
push eax
call fcn.00542200
cmp byte [edi + 0x14c], 0
movss xmm1, dword [0x577508]
mov al, byte [ebp + 0x10]
jne 0x4dbda6
test al, al
je 0x4dbda6
cmp byte [edi + 0xc8], 0
jne 0x4dbda6
movss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
push 0xffffffffffffffff
call fcn.00552a50
mov ecx, dword [edi + 0x98]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm1, dword [0x577508]
mov al, byte [ebp + 0x10]
cmp byte [ebp + 0x14], 0
je 0x4dbdd4
test al, al
je 0x4dbdd4
movss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
push 0xffffffffffffffff
call fcn.00552a50
mov ecx, dword [edi + 0x98]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [edi + 0x1bc]
lea eax, [ebp - 0x6c]
addss xmm0, dword [0x577570]
push eax
mov ecx, edi
mov dword [ebp - 0x60], vtable.phVector2d.0
mov dword [ebp - 0x5c], 0xc0000000
movss dword [ebp - 0x58], xmm0
call fcn.004d9500
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00441d60
mov byte [ebp - 4], 8
mov ecx, dword [edi + 0x20]
movss xmm3, dword [ebp - 0x50]
movss xmm4, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], vtable.phVector2d.0
cmp ecx, 0x7d3
jne 0x4dbe4b
addss xmm3, dword [edi + 0x15c]
addss xmm4, dword [edi + 0x160]
movss dword [ebp - 0x50], xmm3
movss dword [ebp - 0x4c], xmm4
xorps xmm2, xmm2
movss dword [ebp + 0x10], xmm2
cmp ecx, 0x425
jne 0x4dbe80
mov eax, dword [edi + 0x228]
sub eax, 2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x5777c8]
mulss xmm2, dword [0x577494]
movss dword [ebp + 0x10], xmm2
cmp ecx, 0x427
je 0x4dbef5
movss xmm1, dword [edi + 0x1cc]
sub esp, 0x14
mulss xmm1, dword [edi + 0x1c4]
mov ecx, dword [edi + 0x98]
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm2
addss xmm0, dword [0x577724]
movss dword [esp + 4], xmm0
movaps xmm0, xmm3
addss xmm0, dword [ebp - 0x44]
subss xmm0, dword [0x577738]
movss dword [esp], xmm0
call fcn.00541f90
cmp dword [edi + 0x20], 0x426
movss xmm6, dword [edi + 0x1c8]
mulss xmm6, dword [0x577474]
movss xmm0, dword [edi + 0x1d0]
mulss xmm0, dword [0x577474]
mulss xmm6, dword [edi + 0x10]
mulss xmm6, xmm0
movss dword [ebp - 0x1c], xmm6
jne 0x4dc103
mov esi, dword [edi + 0x23c]
movaps xmm0, xmm6
call fcn.00552a50
shl eax, 0x18
mov dword [ebp - 0x60], vtable.phVector2d.0
lea ecx, [eax + 0xffffff]
mov dword [esi + 0x44], ecx
mov eax, dword [edi + 0x240]
mov dword [eax + 0x44], ecx
lea eax, [edi + 0x22c]
mov byte [ebp - 4], 9
xor esi, esi
mov dword [ebp + 0x14], eax
lea esp, [esp]
lea eax, [esi - 2]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5777c8]
mulss xmm0, dword [0x577494]
movss dword [ebp + 0x10], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5777c8]
mulss xmm0, dword [0x577494]
movss dword [ebp - 0x24], xmm0
call sub.msvcr120.dll___libm_sse2_cosf
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x24]
call sub.msvcr120.dll___libm_sse2_sinf
movss xmm3, dword [ebp - 0x18]
xorps xmm2, xmm2
mov eax, dword [ebp + 0x14]
movaps xmm4, xmm3
movaps xmm1, xmm0
mulss xmm4, xmm2
mulss xmm1, xmm2
addss xmm3, xmm0
cmp dword [eax], 1
subss xmm4, xmm1
mulss xmm3, xmm2
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x58], xmm3
jne 0x4dc076
movss xmm1, dword [edi + 0x1cc]
sub esp, 8
mulss xmm1, dword [edi + 0x1c4]
mov ecx, dword [edi + 0x23c]
movss xmm0, dword [ebp - 0x34]
movss xmm2, dword [ebp - 0x4c]
addss xmm2, dword [ebp + 0xc]
mulss xmm0, xmm1
addss xmm2, dword [0x577724]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss xmm1, dword [ebp - 0x50]
addss xmm2, xmm3
addss xmm1, dword [ebp - 0x44]
movss xmm3, dword [ebp + 0x10]
movss dword [esp], xmm0
subss xmm1, dword [0x577738]
addss xmm1, xmm4
call fcn.00401d80
movss xmm3, dword [ebp - 0x18]
movss xmm4, dword [ebp - 0x24]
mov eax, dword [ebp + 0x14]
cmp dword [eax], 2
jne 0x4dc0ea
movss xmm1, dword [edi + 0x1cc]
sub esp, 8
mulss xmm1, dword [edi + 0x1c4]
mov ecx, dword [edi + 0x240]
movss xmm0, dword [ebp - 0x34]
movss xmm2, dword [ebp - 0x4c]
addss xmm2, dword [ebp + 0xc]
mulss xmm0, xmm1
addss xmm2, dword [0x577724]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss xmm1, dword [ebp - 0x50]
addss xmm2, xmm3
addss xmm1, dword [ebp - 0x44]
movss xmm3, dword [ebp + 0x10]
movss dword [esp], xmm0
subss xmm1, dword [0x577738]
addss xmm1, xmm4
call fcn.00401d80
mov eax, dword [ebp + 0x14]
inc esi
add eax, 4
mov dword [ebp + 0x14], eax
cmp esi, 4
jl 0x4dbf70
movss xmm6, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
cmp dword [edi + 0x20], 0x427
jne 0x4dc5ca
movss xmm3, dword [ebp - 0x10]
mov eax, dword [edi + 0x244]
mulss xmm3, dword [0x577b90]
dec eax
xor ecx, ecx
mov dword [ebp - 0x20], eax
movss xmm2, dword [0x577e90]
lea eax, [edi + 0x278]
movss xmm7, dword [0x5778b0]
andps xmm3, xmm2
movaps xmm0, xmm3
movss xmm5, dword [eax]
andps xmm0, xmm2
cmp ecx, dword [edi + 0x248]
jge 0x4dc183
movaps xmm4, xmm5
xorps xmm4, xmmword [0x577ec0]
movaps xmm1, xmm4
andps xmm1, xmm2
comiss xmm0, xmm1
jb 0x4dc171
mov dword [eax], 0
jmp 0x4dc1bc
xorps xmm0, xmm0
comiss xmm0, xmm4
jbe 0x4dc19d
movss xmm1, dword [0x577c44]
jmp 0x4dc1a5
movaps xmm4, xmm7
subss xmm4, xmm5
movaps xmm1, xmm4
andps xmm1, xmm2
comiss xmm0, xmm1
jb 0x4dc171
mov dword [eax], 0x437f0000
jmp 0x4dc1bc
movss xmm1, dword [0x577570]
movaps xmm0, xmm3
movss dword [0x58d8f4], xmm1
mulss xmm0, xmm1
addss xmm5, xmm0
movss dword [eax], xmm5
inc ecx
add eax, 4
cmp ecx, 6
jl 0x4dc142
mov esi, dword [edi + 0x250]
movaps xmm0, xmm6
call fcn.00552a50
movss xmm1, dword [ebp - 0x34]
shl eax, 0x18
add eax, 0xffffff
mov dword [esi + 0x44], eax
movss xmm0, dword [edi + 0x1c4]
mulss xmm0, dword [edi + 0x1cc]
mov esi, dword [edi + 0x250]
mov dword [ebp - 0x30], eax
push 0xffffffffffffffff
mulss xmm1, xmm0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
movss dword [ebp + 0x14], xmm1
movss xmm1, dword [ebp - 0x38]
mulss xmm1, xmm0
mov ecx, dword [ecx + eax*4]
movss xmm0, dword [ebp - 0x4c]
addss xmm0, dword [ebp + 0xc]
movss dword [ebp - 0x24], xmm1
addss xmm0, dword [0x577724]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x50]
addss xmm0, dword [ebp - 0x44]
subss xmm0, dword [0x577738]
movss dword [ebp - 0x18], xmm0
call fcn.00542200
movss xmm0, dword [ebp + 0x14]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x24]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call fcn.00541f90
mov eax, dword [edi + 0x248]
test eax, eax
jns 0x4dc2b5
mov dword [edi + 0x248], 0
jmp 0x4dc2c4
cmp eax, 6
jle 0x4dc2c4
mov dword [edi + 0x248], 6
movss xmm0, dword [edi + 0x290]
comiss xmm0, dword [0x57743c]
jbe 0x4dc5ca
mov eax, dword [ebp - 0x20]
lea esi, [edi + 0x25c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], 6
lea eax, [eax + eax*2]
shl eax, 3
mov dword [ebp + 0x14], eax
jmp 0x4dc300
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [esi + 0x1c]
push 0xffffffffffffffff
mulss xmm0, dword [0x577474]
call fcn.00552a50
shl eax, 0x18
add eax, 0xffffff
push eax
mov eax, dword [edi + 0x254]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx + eax]
call fcn.00542200
movss xmm1, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm1, dword [edi + 0x1cc]
mov eax, dword [edi + 0x254]
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm1
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
mov ecx, dword [ecx + eax]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm0, dword [0x5778b0]
subss xmm0, dword [esi + 0x1c]
push 0xffffffffffffffff
mulss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x577474]
call fcn.00552a50
shl eax, 0x18
add eax, 0xffffff
push eax
mov eax, dword [edi + 0x258]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx + eax]
call fcn.00542200
movss xmm1, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm1, dword [edi + 0x1cc]
mov eax, dword [edi + 0x258]
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm1
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
mov ecx, dword [ecx + eax]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call fcn.00541f90
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ecx + 0x24]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
call eax
mov ecx, dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
addss xmm0, dword [ecx + 0x50]
comiss xmm0, dword [ecx + 0x54]
movss dword [ecx + 0x50], xmm0
jb 0x4dc478
call fcn.00401c30
mov dword [ecx + 0x50], 0
mov edx, dword [esi]
xor ecx, ecx
cmp dword [edx + 0x2c], ecx
jbe 0x4dc494
mov eax, dword [edx + 0x18]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [eax + 0x64], 0
cmp ecx, dword [edx + 0x2c]
jb 0x4dc481
movss xmm0, dword [0x5778b0]
subss xmm0, dword [esi + 0x1c]
mulss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x577474]
call fcn.00552a50
mov ecx, dword [esi]
movss xmm1, dword [ebp - 0x34]
shl eax, 0x18
add eax, 0xffffff
mov dword [ecx + 0x44], eax
movss xmm0, dword [edi + 0x1c4]
mulss xmm0, dword [edi + 0x1cc]
mov esi, dword [esi]
push 0xffffffffffffffff
mulss xmm1, xmm0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
movss dword [ebp - 0x2c], xmm1
movss xmm1, dword [ebp - 0x38]
mov ecx, dword [ecx + eax*4]
mulss xmm1, xmm0
movss dword [ebp - 0x28], xmm1
call fcn.00542200
movss xmm0, dword [ebp - 0x2c]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x28]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call fcn.00541f90
mov esi, dword [ebp - 0x20]
add dword [ebp + 0x14], 4
add esi, 4
dec dword [ebp - 0x24]
mov dword [ebp - 0x20], esi
jne 0x4dc300
mov ecx, dword [edi + 0x274]
push 0xffffffffffffffff
push dword [ebp - 0x30]
call fcn.00542200
movss xmm1, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm1, dword [edi + 0x1cc]
mov ecx, dword [edi + 0x274]
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm0, dword [ebp - 0x10]
sub esp, 0x14
mov eax, esp
mov ecx, edi
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [esp + 0xc], xmm0
sub esp, 0xc
movss xmm0, dword [ebp - 0x38]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 8], xmm0
movss xmm0, dword [ebp - 0x44]
mov dword [eax], vtable.phVector2d.0
mov eax, esp
sub esp, 0xc
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [eax + 8], xmm0
movss xmm0, dword [ebp - 0x50]
mov dword [eax], vtable.phVector2d.0
mov eax, esp
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x4c]
mov dword [eax], vtable.phVector2d.0
movss dword [eax + 8], xmm0
call fcn.004da3f0
mov byte [ebp - 4], 6
movss xmm2, dword [0x577474]
mov esi, dword [edi + 0xe4]
test esi, esi
je 0x4dc7b5
movss xmm0, dword [edi + 0x1c8]
movss xmm1, dword [edi + 0x1d0]
mulss xmm0, xmm2
mulss xmm1, xmm2
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
shl eax, 0x18
mov ecx, edi
add eax, 0xffffff
mov dword [ebp - 0x60], vtable.phVector2d.0
mov dword [esi + 0x44], eax
lea eax, [ebp - 0x6c]
movss xmm0, dword [edi + 0x1bc]
addss xmm0, dword [0x577570]
push eax
mov dword [ebp - 0x5c], 0xc0000000
movss dword [ebp - 0x58], xmm0
call fcn.004d9500
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00441d60
mov byte [ebp - 4], 0xa
cmp dword [edi + 0x20], 0x7d3
movss xmm3, dword [ebp - 0x50]
movss xmm2, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], vtable.phVector2d.0
jne 0x4dc704
addss xmm3, dword [edi + 0x15c]
addss xmm2, dword [edi + 0x160]
movss dword [ebp - 0x50], xmm3
movss dword [ebp - 0x4c], xmm2
movss xmm0, dword [edi + 0x1cc]
mulss xmm0, dword [edi + 0x1c4]
mov esi, dword [edi + 0xe4]
movss xmm1, dword [ebp - 0x34]
addss xmm2, dword [ebp + 0xc]
addss xmm3, dword [ebp - 0x44]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
mulss xmm1, xmm0
push 0xffffffffffffffff
addss xmm2, dword [0x577724]
subss xmm3, dword [0x577738]
push dword [esi + 0x44]
mov ecx, dword [ecx + eax*4]
movss dword [ebp + 0x10], xmm1
movss xmm1, dword [ebp - 0x38]
mulss xmm1, xmm0
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x2c], xmm3
movss dword [ebp + 0x14], xmm1
call fcn.00542200
movss xmm0, dword [ebp + 0x10]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp + 0x14]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0x30]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [esp], xmm0
call fcn.00541f90
mov byte [ebp - 4], 6
cmp dword [edi + 0x20], 0x7d1
jne 0x4dceb7
movss xmm0, dword [edi + 0x1bc]
lea eax, [ebp - 0x6c]
addss xmm0, dword [0x577570]
push eax
mov ecx, edi
mov dword [ebp - 0x60], vtable.phVector2d.0
mov dword [ebp - 0x5c], 0xc0000000
movss dword [ebp - 0x58], xmm0
call fcn.004d9500
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00441d60
mov byte [ebp - 4], 0xb
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mov dword [ebp - 0x6c], vtable.phVector2d.0
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
mov ecx, dword [edi + 0xe8]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [ebp - 0x50]
sub esp, 0x14
addss xmm0, dword [ebp - 0x44]
movss xmm1, dword [edi + 0x1c4]
mulss xmm1, dword [edi + 0x1cc]
mov ecx, dword [edi + 0xe8]
movss xmm2, dword [ebp - 0x4c]
addss xmm2, dword [ebp + 0xc]
movaps xmm3, xmm0
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x34]
subss xmm3, dword [0x577738]
mulss xmm0, xmm1
addss xmm2, dword [0x577724]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss dword [ebp + 0x10], xmm2
movss dword [ebp + 0x14], xmm3
movss dword [esp + 0xc], xmm0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm2
movss dword [esp], xmm3
call fcn.00541f90
mov esi, dword [edi + 0x10c]
test esi, esi
je 0x4dc982
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
shl eax, 0x18
mov ecx, esi
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm1, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm1, dword [0x577514]
mov ecx, dword [edi + 0x10c]
movss xmm0, dword [ebp - 0x34]
mulss xmm1, dword [edi + 0x1cc]
mulss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
mov ecx, dword [edi + 0xec]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm1, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm1, dword [edi + 0x1cc]
mov ecx, dword [edi + 0xec]
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
call fcn.00552a50
mov ecx, dword [edi + 0xf0]
movss xmm1, dword [ebp - 0x34]
shl eax, 0x18
add eax, 0xffffff
mov dword [ecx + 0x44], eax
movss xmm0, dword [edi + 0x1c4]
mulss xmm0, dword [edi + 0x1cc]
mov esi, dword [edi + 0xf0]
push 0xffffffffffffffff
mulss xmm1, xmm0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [ebp - 0x38]
mov ecx, dword [ecx + eax*4]
mulss xmm1, xmm0
movss dword [ebp - 0x2c], xmm1
call fcn.00542200
movss xmm0, dword [ebp - 0x30]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x2c]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm3, dword [edi + 0x118]
movss xmm1, dword [edi + 0x11c]
movss xmm2, dword [edi + 0x114]
mov eax, dword [edi + 0x12c]
movss xmm0, dword [edi + 0x120]
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x24], xmm2
test eax, eax
je 0x4dcb8b
cmp eax, 1
jne 0x4dcb47
movss xmm0, dword [0x5776c4]
subss xmm1, xmm3
divss xmm0, xmm1
movaps xmm1, xmm2
subss xmm1, xmm3
mulss xmm0, xmm1
call sub.msvcr120.dll___libm_sse2_sinf
jmp 0x4dcb6c
cmp eax, 2
jne 0x4dcb8b
movss xmm0, dword [0x5775a0]
subss xmm1, xmm3
divss xmm0, xmm1
movaps xmm1, xmm2
subss xmm1, xmm3
mulss xmm0, xmm1
call sub.msvcr120.dll___libm_sse2_cosf
addss xmm0, dword [0x5774d4]
movss xmm1, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x24]
mulss xmm0, dword [edi + 0x120]
cmp byte [edi + 0x128], 0
movss dword [edi + 0x124], xmm0
mulss xmm0, dword [ebp - 0x10]
je 0x4dcbc3
addss xmm0, xmm2
comiss xmm0, xmm1
movss dword [edi + 0x114], xmm0
jb 0x4dcbe3
movss dword [edi + 0x114], xmm1
mov byte [edi + 0x128], 0
jmp 0x4dcbe3
subss xmm2, xmm0
comiss xmm3, xmm2
movss dword [edi + 0x114], xmm2
jb 0x4dcbe3
movss dword [edi + 0x114], xmm3
mov byte [edi + 0x128], 1
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
mulss xmm0, dword [edi + 0x114]
call fcn.00552a50
mov ecx, dword [edi + 0xf4]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm1, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm1, dword [edi + 0x1cc]
mov ecx, dword [edi + 0xf4]
movss xmm0, dword [ebp - 0x34]
movss xmm3, dword [ebp - 0x1c]
subss xmm3, dword [0x577734]
movss xmm2, dword [ebp + 0x10]
subss xmm2, dword [0x577750]
mulss xmm0, xmm1
subss xmm3, dword [0x577750]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x1c], xmm3
movss dword [esp + 0xc], xmm0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm2
movss dword [esp], xmm3
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
mulss xmm0, dword [edi + 0x114]
call fcn.00552a50
mov ecx, dword [edi + 0xf8]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm1, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm1, dword [edi + 0x1cc]
mov ecx, dword [edi + 0xf8]
movss xmm0, dword [ebp - 0x34]
movss xmm2, dword [ebp + 0x14]
addss xmm2, dword [0x577750]
mulss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss dword [ebp + 0x14], xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0x30]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
mulss xmm0, dword [edi + 0x114]
call fcn.00552a50
mov ecx, dword [edi + 0xfc]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm1, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm1, dword [edi + 0x1cc]
mov ecx, dword [edi + 0xfc]
movss xmm0, dword [ebp - 0x34]
movss xmm2, dword [ebp + 0x10]
addss xmm2, dword [0x577750]
mulss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss dword [ebp + 0x10], xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x14]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm2
movss dword [esp], xmm0
call fcn.00541f90
movss xmm0, dword [edi + 0x1c8]
mulss xmm0, dword [0x577474]
push 0xffffffffffffffff
movss xmm1, dword [edi + 0x1d0]
mulss xmm1, dword [0x577474]
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
mulss xmm0, dword [edi + 0x114]
call fcn.00552a50
mov ecx, dword [edi + 0x100]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [edi + 0x1c4]
sub esp, 0x14
mulss xmm0, dword [edi + 0x1cc]
mov ecx, dword [edi + 0x100]
movss xmm1, dword [ebp - 0x34]
mulss xmm1, xmm0
movss dword [esp + 0x10], xmm1
movss xmm1, dword [ebp - 0x38]
mulss xmm1, xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 0xc], xmm1
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [esp], xmm0
call fcn.00541f90
mov byte [ebp - 4], 6
cmp byte [edi + 0xb0], 0
xorps xmm2, xmm2
je 0x4dcf38
movss xmm4, dword [ebp - 0x10]
movss xmm6, dword [edi + 0xb4]
movss xmm5, dword [0x5778b0]
mulss xmm4, dword [0x577b8c]
subss xmm5, xmm6
movss xmm3, dword [0x577e90]
andps xmm4, xmm3
movaps xmm1, xmm5
movaps xmm0, xmm4
andps xmm1, xmm3
andps xmm0, xmm3
comiss xmm0, xmm1
jb 0x4dcf0f
mov dword [edi + 0xb4], 0x437f0000
jmp 0x4dcfb7
comiss xmm2, xmm5
jbe 0x4dcf1e
movss xmm0, dword [0x577c44]
jmp 0x4dcf26
movss xmm0, dword [0x577570]
mulss xmm4, xmm0
addss xmm6, xmm4
movss dword [edi + 0xb4], xmm6
jmp 0x4dcfaf
movss xmm0, dword [edi + 0xb4]
comiss xmm0, xmm2
jbe 0x4dcfb7
movss xmm4, dword [ebp - 0x10]
movss xmm5, xmm0
mulss xmm4, dword [0x577b8c]
movaps xmm6, xmm5
movss xmm3, dword [0x577e90]
xorps xmm6, xmmword [0x577ec0]
andps xmm4, xmm3
movaps xmm1, xmm6
movaps xmm0, xmm4
andps xmm1, xmm3
andps xmm0, xmm3
comiss xmm0, xmm1
jb 0x4dcf88
mov dword [edi + 0xb4], 0
jmp 0x4dcfb7
comiss xmm2, xmm6
jbe 0x4dcf97
movss xmm0, dword [0x577c44]
jmp 0x4dcf9f
movss xmm0, dword [0x577570]
mulss xmm4, xmm0
addss xmm5, xmm4
movss dword [edi + 0xb4], xmm5
movss dword [0x58d8f4], xmm0
movss xmm1, dword [edi + 0xb4]
comiss xmm1, xmm2
jbe 0x4dd137
mov ecx, dword [0x58d464]
mov eax, dword [ecx + 0x54]
mov edx, dword [eax + 0x48]
mov eax, dword [ecx + 0x14ba0]
dec edx
cmp edx, dword [eax + 0x78]
jge 0x4dcfeb
mov eax, dword [eax + 0x80]
mov esi, dword [eax + edx*4]
jmp 0x4dcfed
xor esi, esi
movss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
push 0xffffffffffffffff
mulss xmm0, dword [0x577474]
call fcn.00552a50
shl eax, 0x18
mov ecx, esi
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
addss xmm0, dword [edi + 0x1bc]
movss xmm1, dword [ebp - 0x44]
mov ecx, edi
push eax
mov dword [ebp - 0x60], vtable.phVector2d.0
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm0
call fcn.004d9500
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00441d60
mov byte [ebp - 4], 0xc
sub esp, 8
movss xmm0, dword [ebp - 0x4c]
mov ecx, esi
mov dword [ebp - 0x6c], vtable.phVector2d.0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x50]
movss dword [esp], xmm0
call fcn.00541f00
cmp byte [edi + 0xb2], 0
je 0x4dd133
cmp dword [edi + 0x224], 0xffffffff
jne 0x4dd133
movss xmm0, dword [edi + 0x1bc]
lea eax, [ebp - 0x78]
push eax
mov ecx, edi
mov dword [ebp - 0x60], vtable.phVector2d.0
mov dword [ebp - 0x5c], 0
movss dword [ebp - 0x58], xmm0
call fcn.004d9500
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
call fcn.00441d60
mov byte [ebp - 4], 0xd
movss xmm0, dword [edi + 0x10]
push 0xffffffffffffffff
mov dword [ebp - 0x78], vtable.phVector2d.0
call fcn.00552a50
mov ecx, dword [edi + 0xa4]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [ebp - 0x64]
sub esp, 8
subss xmm0, dword [0x577704]
mov ecx, dword [edi + 0xa4]
addss xmm0, dword [ebp + 0xc]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x68]
subss xmm0, dword [0x5776c0]
addss xmm0, dword [ebp - 0x44]
movss dword [esp], xmm0
call fcn.00541f00
mov byte [ebp - 4], 6
cmp byte [edi + 0xc8], 0
je 0x4dd1af
movss xmm0, dword [edi + 0x1bc]
lea eax, [ebp - 0x78]
addss xmm0, dword [ebp + 0xc]
movss xmm1, dword [ebp - 0x44]
mov ecx, edi
push eax
mov dword [ebp - 0x60], vtable.phVector2d.0
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm0
call fcn.004d9500
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
call fcn.00441d60
mov byte [ebp - 4], 0xe
sub esp, 8
movss xmm0, dword [ebp - 0x64]
mov ecx, dword [edi + 0xcc]
mov dword [ebp - 0x78], vtable.phVector2d.0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x68]
movss dword [esp], xmm0
call fcn.00541f00
mov byte [ebp - 4], 6
cmp byte [edi + 0xc2], 0
je 0x4dd360
movss xmm0, dword [edi + 0x1bc]
lea eax, [ebp - 0x78]
push eax
mov ecx, edi
mov dword [ebp - 0x60], vtable.phVector2d.0
mov dword [ebp - 0x5c], 0
movss dword [ebp - 0x58], xmm0
call fcn.004d9500
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
call fcn.00441d60
mov byte [ebp - 4], 0xf
mov esi, dword [edi + 0xc4]
push 0xffffffffffffffff
mov dword [ebp - 0x78], vtable.phVector2d.0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
mov ecx, dword [ecx + eax*4]
call fcn.00542200
movss xmm0, dword [esi + 0x60]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x5c]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x58]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x64]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x68]
movss dword [esp], xmm0
call fcn.00541f90
cmp byte [edi + 8], 0
jne 0x4dd274
cmp byte [edi + 0xb1], 0
je 0x4dd2dc
cmp byte [edi + 0x14c], 0
je 0x4dd2dc
mov ecx, dword [edi + 0xc4]
cmp dword [ecx + 0x40], 0
je 0x4dd296
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x40], 0
cmp eax, dword [ecx + 0x2c]
jae 0x4dd296
mov dword [ecx + 0x4c], 0
cmp byte [edi + 0xc0], 0
mov byte [edi + 0xc1], 0
jne 0x4dd2dc
mov byte [edi + 0xc0], 1
mov ecx, dword [0x58d464]
push str.sm_open_shutters
mov ecx, dword [ecx + 0x14b90]
call fcn.00535e30
test eax, eax
je 0x4dd2dc
cmp byte [0x58d45c], 0
je 0x4dd2dc
push 0
push ecx
mov ecx, dword [eax + 0xc]
push eax
call fcn.00533230
cmp byte [edi + 8], 0
jne 0x4dd35c
cmp byte [edi + 0xb1], 0
je 0x4dd2f4
cmp byte [edi + 0x14c], 0
jne 0x4dd35c
mov ecx, dword [edi + 0xc4]
cmp dword [ecx + 0x40], 0
jne 0x4dd316
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x40], 1
cmp eax, dword [ecx + 0x2c]
jae 0x4dd316
mov dword [ecx + 0x4c], 0
cmp byte [edi + 0xc1], 0
mov byte [edi + 0xc0], 0
jne 0x4dd35c
mov byte [edi + 0xc1], 1
mov ecx, dword [0x58d464]
push str.sm_close_shutters
mov ecx, dword [ecx + 0x14b90]
call fcn.00535e30
test eax, eax
je 0x4dd35c
cmp byte [0x58d45c], 0
je 0x4dd35c
push 0
push ecx
mov ecx, dword [eax + 0xc]
push eax
call fcn.00533230
mov byte [ebp - 4], 6
mov esi, dword [edi + 0xb8]
test esi, esi
je 0x4dd45a
mov ecx, dword [esi + 0x24]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
call eax
fstp dword [ebp + 0x10]
movss xmm0, dword [ebp + 0x10]
addss xmm0, dword [esi + 0x50]
comiss xmm0, dword [esi + 0x54]
movss dword [esi + 0x50], xmm0
jb 0x4dd3a2
mov ecx, esi
call fcn.00401c30
mov dword [esi + 0x50], 0
movss xmm0, dword [edi + 0x1bc]
lea eax, [ebp - 0x78]
addss xmm0, dword [ebp + 0xc]
movss xmm1, dword [ebp - 0x44]
mov ecx, edi
addss xmm1, dword [0x577570]
push eax
mov dword [ebp - 0x60], vtable.phVector2d.0
addss xmm0, dword [0x577720]
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm0
call fcn.004d9500
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
call fcn.00441d60
mov byte [ebp - 4], 0x10
mov esi, dword [edi + 0xb8]
push 0xffffffffffffffff
mov dword [ebp - 0x78], vtable.phVector2d.0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
mov ecx, dword [ecx + eax*4]
call fcn.00542200
movss xmm0, dword [esi + 0x60]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x5c]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x58]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x64]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x68]
movss dword [esp], xmm0
call fcn.00541f90
mov word [edi + 0xb0], 0
mov byte [edi + 0xb2], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10