Function at 0x10037bb0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101f3f18]
push esi
push edi
push 1
mov esi, ecx
mov dword [ebp - 0x220], edx
mov ecx, dword [eax]
push 6
push 1
push eax
mov dword [ebp - 0x1f4], esi
mov dword [ebp - 0x224], esi
call dword [ecx + 0x114]
mov eax, dword [0x101f3f18]
push 1
push 5
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x114]
mov eax, dword [0x101f3f18]
push 1
push 7
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x114]
mov edx, 1
mov dword [ebp - 0x1d8], 0
lea ecx, [ebp - 0x1d8]
call fcn.10046c20
mov dword [0x100fdbf0], 3
mov byte [0x101f421c], 0
call fcn.1002d2b0
cmp dword [0x10094114], 0
mov eax, dword [0x101f3f18]
mov ecx, dword [eax]
je 0x10037c70
push dword [0x101f4384]
jmp 0x10037c72
push 0
push 1
push eax
call dword [ecx + 0x94]
cmp dword [0x101f4d0c], 0
mov edi, dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::FindFirst_enum_CObject::Class_]
je 0x1003863b
mov eax, dword [0x101f3f18]
push dword [0x101f41f8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x15c]
mov eax, dword [0x101f3f18]
push 0x14
push 0
push dword [0x101f41f4]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x190]
mov eax, dword [0x101f4204]
push 0x101f45e8
push str.g_mProjection
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [0x101f4240]
lea edx, [ebp - 0x1f0]
push 8
push edx
push str.g_fScreenSize
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008bb80]
mov eax, dword [0x101f4244]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x1f0], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008bb80]
mov eax, dword [0x101f4204]
push eax
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x1ec], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [0x101f4204]
movss xmm0, dword [0x101f424c]
mov ecx, dword [eax]
push ecx
movss dword [esp], xmm0
push str.g_fFarClip
push eax
call dword [ecx + 0x78]
mov eax, dword [0x101f4204]
push dword [0x101f41a0]
push str.texDepth
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
movss xmm0, dword [0x101f456c]
lea eax, [ebp - 0x34]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [0x101f457c]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [0x101f458c]
push eax
push eax
movss dword [ebp - 0x2c], xmm0
call dword [sym.imp.d3dx9_43.dll_D3DXVec3Normalize]
push 0x303
call edi
mov esi, eax
add esp, 4
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x10038635
nop word [eax + eax]
mov ecx, esi
call dword [sym.imp.Common.dll_public:_bool___thiscall_CSolar::is_planetary_void_const]
test al, al
je 0x10038619
mov ecx, esi
call dword [sym.imp.Common.dll_public:_unsigned_int_const____thiscall_CSimple::get_id_void_const]
mov edi, eax
movzx ecx, byte [edi]
movzx eax, byte [edi + 3]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
movzx ecx, byte [edi + 1]
xor edx, ecx
movzx ecx, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [0x101f4d08]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x101f4d1c]
and ecx, eax
mov eax, dword [0x101f4d10]
mov esi, dword [eax + ecx*8 + 4]
cmp esi, edx
je 0x10037e42
mov ecx, dword [eax + ecx*8]
mov eax, dword [edi]
cmp eax, dword [esi + 8]
je 0x10037e3e
cmp esi, ecx
je 0x10037e42
mov esi, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x10037e32
test esi, esi
jne 0x10037e44
mov esi, edx
cmp esi, edx
je 0x10038619
mov ecx, dword [ebp - 0x1dc]
call dword [sym.imp.Common.dll_public:_class_Vector_const____thiscall_EngineObject::get_position_void_const]
push 0x101f4568
add esi, 0xc
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x90]
push eax
movq qword [ebp - 0x28], xmm0
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTranspose]
movss xmm0, dword [ebp - 0x28]
lea eax, [ebp - 0x190]
movss dword [ebp - 0x60], xmm0
sub esp, 0xc
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x1008b954]
mov dword [esp + 8], 0x3f800000
mov dword [ebp - 0x54], 0x3f800000
mov dword [ebp - 0x64], 0
mulss xmm0, dword [esi + 0x24]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x84], 0
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixScaling]
mov edi, dword [sym.imp.d3dx9_43.dll_D3DXMatrixMultiply]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push eax
call edi
push 0x101f4568
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xd0]
push eax
call edi
mov eax, dword [0x101f4204]
lea edx, [ebp - 0xd0]
push edx
push str.g_mWorldView
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [0x101f4204]
push 0xc
push esi
push str.g_fColor
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [0x101f4204]
movss xmm0, dword [esi + 0x1c]
mov ecx, dword [eax]
push ecx
movss dword [esp], xmm0
push str.g_fSunIntensity
push eax
call dword [ecx + 0x78]
mov eax, dword [0x101f4204]
movss xmm0, dword [esi + 0x20]
mov ecx, dword [eax]
push ecx
movss dword [esp], xmm0
push str.g_fGlowIntensity
push eax
call dword [ecx + 0x78]
mov eax, dword [0x101f4204]
movss xmm0, dword [esi + 0x24]
mov ecx, dword [eax]
push ecx
movss dword [esp], xmm0
push str.g_fGlowScale
push eax
call dword [ecx + 0x78]
push 0x101f45e8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x40], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x38], 0
call edi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXVec3Transform]
movss xmm0, dword [ebp - 0x44]
lea edx, [ebp - 0x50]
mulss xmm0, dword [0x1008b8f8]
mov eax, dword [0x101f4204]
movss xmm1, dword [0x1008b888]
push edx
divss xmm1, xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x3f800000
push str.g_vSunCenter
push eax
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x4c]
mulss xmm0, dword [ebp - 0x50]
addss xmm1, dword [0x1008b864]
addss xmm0, dword [0x1008b864]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [0x1008b888]
subss xmm0, xmm1
movss dword [ebp - 0x4c], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [0x101f4204]
push dword [esi + 0x30]
push str.texDiffuse
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [0x101f4204]
push str.RenderStarGodRays
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f4204]
push 0
push 0x101f4264
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x101f4204]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov eax, dword [0x101f3f18]
push 2
push 0
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x144]
mov eax, dword [0x101f4204]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [0x101f4204]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
cmp dword [esi + 0x34], 0
je 0x10038619
movss xmm0, dword [0x1008b864]
comiss xmm0, dword [0x101f436c]
jbe 0x10038619
movss xmm0, dword [esi + 0x18]
lea eax, [ebp - 0x190]
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixScaling]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x150]
push eax
call edi
push 0x101f4568
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x110]
push eax
call edi
movaps xmm0, xmmword [ebp - 0x110]
lea eax, [ebp - 0xd0]
movaps xmmword [ebp - 0xd0], xmm0
movaps xmm0, xmmword [ebp - 0x100]
movaps xmmword [ebp - 0xc0], xmm0
movaps xmm0, xmmword [ebp - 0xf0]
push 0x101f45e8
push eax
movaps xmmword [ebp - 0xb0], xmm0
lea eax, [ebp - 0x150]
movaps xmm0, xmmword [ebp - 0xe0]
push eax
movaps xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x1c], 0xbf000000
mov dword [ebp - 0x18], 0xbf000000
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x3f000000
mov dword [ebp - 0xc], 0x3f000000
mov dword [ebp - 8], 0
call edi
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXVec3Transform]
push 0x101f45e8
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x150]
push eax
call edi
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXVec3Transform]
movss xmm0, dword [ebp - 0x20c]
mulss xmm0, dword [0x1008b8f8]
mov eax, dword [0x101f4240]
movss xmm7, dword [0x1008b888]
movaps xmm2, xmm7
movss xmm6, dword [0x1008b864]
divss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x210]
movss dword [ebp - 0x210], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x20c]
movss dword [ebp - 0x20c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008bb80]
cvtpd2ps xmm5, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x218]
mov eax, dword [0x101f4244]
addss xmm0, xmm6
mulss xmm2, dword [ebp - 0x214]
movaps xmm4, xmm7
push ecx
mulss xmm0, xmm5
addss xmm2, xmm6
movss dword [ebp - 0x1e8], xmm0
movss dword [ebp - 0x218], xmm0
subss xmm4, xmm2
movd xmm0, eax
movaps xmm2, xmm7
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008bb80]
cvtpd2ps xmm3, xmm0
movss xmm0, dword [ebp - 0x1fc]
mulss xmm0, dword [0x1008b8f8]
mulss xmm4, xmm3
divss xmm2, xmm0
movss dword [ebp - 0x214], xmm4
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x200]
movss dword [ebp - 0x200], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x1fc]
movss dword [ebp - 0x1fc], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x208]
mulss xmm2, dword [ebp - 0x204]
addss xmm0, xmm6
addss xmm2, xmm6
mulss xmm0, xmm5
movss dword [ebp - 0x1e4], xmm0
movss dword [ebp - 0x208], xmm0
movaps xmm0, xmm7
subss xmm0, xmm2
mulss xmm0, xmm3
movss dword [ebp - 0x204], xmm0
subss xmm0, xmm4
movss dword [esp], xmm0
call fcn.10009960
push ecx
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm0, dword [ebp - 0x1e4]
add esp, 4
subss xmm0, dword [ebp - 0x1e8]
fstp dword [ebp - 0x1d8]
fld dword [ebp - 0x1d8]
fstp dword [ebp - 0x1d4]
movss dword [esp], xmm0
call fcn.10009960
push ecx
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm0, dword [ebp - 0x1d4]
add esp, 8
fstp dword [ebp - 0x1d8]
fld dword [ebp - 0x1d8]
fstp dword [ebp - 0x1d8]
mulss xmm0, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d4], 0
movss dword [ebp - 0x1e4], xmm0
nop word [eax + eax]
mov eax, dword [esi + 0x38]
lea edx, [ebp - 0x1d4]
push 1
push 4
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, 1
je 0x100383d0
movd xmm0, dword [ebp - 0x1d4]
lea eax, [ebp - 0x190]
cvtdq2ps xmm0, xmm0
sub esp, 0xc
xorps xmm1, xmm1
mov dword [esp + 8], 0x3f800000
maxss xmm1, xmm0
movss dword [ebp - 0x1d8], xmm1
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x1008b954]
movaps xmm0, xmm1
mulss xmm1, dword [esi + 0x28]
mulss xmm0, dword [esi + 0x2c]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixScaling]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x150]
push eax
call edi
push 0x101f4568
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x1d0]
push eax
call edi
mov eax, dword [0x101f4204]
lea edx, [ebp - 0x1d0]
push edx
push str.g_mWorldView
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
movss xmm1, dword [ebp - 0x1d8]
divss xmm1, dword [ebp - 0x1e4]
mov eax, dword [0x101f4204]
mov ecx, dword [eax]
push ecx
movss xmm0, dword [0x101f436c]
mulss xmm0, dword [0x1008b8f8]
addss xmm1, dword [0x1008b850]
mulss xmm0, dword [0x1008b8a8]
subss xmm1, xmm0
movss xmm0, dword [0x1008b888]
minss xmm0, xmm1
subss xmm0, dword [0x1008b850]
divss xmm0, dword [0x1008b87c]
movss dword [esp], xmm0
push str.g_fOcclusion
push eax
call dword [ecx + 0x78]
mov ecx, dword [0x101f4204]
lea eax, [esi + 0xc]
push 0xc
push eax
push str.g_fStreakColor
mov edx, dword [ecx]
push ecx
call dword [edx + 0x50]
mov eax, dword [0x101f4204]
push dword [esi + 0x34]
push str.texDiffuse
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [0x101f4204]
push str.RenderStreak
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f4204]
push 0
push 0x101f4264
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x101f4204]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x100]
mov eax, dword [0x101f3f18]
push 2
push 0
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x144]
mov eax, dword [0x101f4204]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [0x101f4204]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov eax, dword [0x101f4204]
push str.RenderStarOcclusion
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f4204]
lea edx, [ebp - 0xd0]
push edx
push str.g_mWorldView
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [0x101f4204]
push 0
push 0x101f4264
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x101f4204]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov eax, dword [esi + 0x38]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [0x101f3f18]
push 2
push 0
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x144]
mov eax, dword [esi + 0x38]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [0x101f4204]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [0x101f4204]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
call dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::FindNext_void_]
mov esi, eax
mov dword [ebp - 0x1dc], eax
test esi, esi
jne 0x10037dc0
mov edi, dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::FindFirst_enum_CObject::Class_]
mov esi, dword [ebp - 0x1f4]
call fcn.10048c00
push 0x67
call edi
mov edi, eax
add esp, 4
test edi, edi
je 0x10038db8
mov ecx, dword [0x101f41a8]
push str.RenderBeams
push ecx
mov edx, dword [ecx]
call dword [edx + 0xe8]
mov eax, dword [0x101f41a8]
push 0
push 0x101f4264
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x101f41a8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov eax, dword [0x101f3f18]
push dword [0x101f41a0]
mov dword [0x100fdbf4], 4
push 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x104]
mov eax, dword [0x101f3f18]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 1
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push dword [0x101f41f8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x15c]
mov eax, dword [0x101f3f18]
push 0x14
push 0
push dword [0x101f41f4]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x190]
movss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x1e8], xmm0
movss xmm0, dword [esi + 0x30]
movss dword [ebp - 0x1e4], xmm0
movss xmm0, dword [esi + 0x2c]
movss dword [ebp - 0x1d8], xmm0
movsd xmm0, qword [0x1008b8e8]
movsd qword [ebp - 0x250], xmm0
movsd xmm0, qword [0x1008b900]
movsd qword [ebp - 0x210], xmm0
mov ecx, edi
call dword [sym.imp.Common.dll_public:_bool___thiscall_CProjectile::is_alive_void_const]
test al, al
je 0x10038d79
mov ecx, edi
call dword [sym.imp.Common.dll_public:_struct_Archetype::Munition_const____thiscall_CBeam::munitionarch_void_const]
mov edx, dword [eax + 8]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x101f4aec]
and eax, dword [0x101f4af8]
mov esi, dword [ecx + eax*8 + 4]
cmp esi, dword [0x101f4ae4]
je 0x10038d79
mov eax, dword [ecx + eax*8]
cmp edx, dword [esi + 8]
je 0x100387e0
nop
cmp esi, eax
je 0x10038d79
mov esi, dword [esi + 4]
cmp edx, dword [esi + 8]
jne 0x100387d0
test esi, esi
je 0x10038d79
cmp esi, dword [0x101f4ae4]
je 0x10038d79
mov ecx, edi
call dword [sym.imp.Common.dll_public:_class_Vector_const____thiscall_EngineObject::get_position_void_const]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x1c], xmm0
movss xmm4, dword [ebp - 0x1c]
movss xmm6, dword [ebp - 0x18]
movaps xmm2, xmm4
subss xmm2, dword [ebp - 0x1e8]
mov dword [ebp - 0x14], eax
movaps xmm0, xmm6
movss xmm5, dword [ebp - 0x14]
subss xmm0, dword [ebp - 0x1d8]
mov eax, dword [esi + 0xc]
movaps xmm3, xmm5
subss xmm3, dword [ebp - 0x1e4]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm3, xmm3
addss xmm3, xmm2
addss xmm3, xmm0
movss xmm0, dword [eax + 4]
mulss xmm0, dword [0x1008b9f0]
mulss xmm0, dword [eax + 4]
comiss xmm3, xmm0
ja 0x10038d79
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1d4], edi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.1001ee60
mov eax, dword [ebp - 0x21c]
cmp eax, dword [0x101f4c24]
je 0x100388d0
movq xmm0, qword [eax + 0xc]
mov eax, dword [eax + 0x14]
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x1dc], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x1d4], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x1e0], xmm0
jmp 0x1003898e
mov ecx, edi
call dword [sym.imp.Common.dll_public:_class_Vector_const____thiscall_CBeam::get_last_pos_void_const]
movss xmm2, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
movss xmm1, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x14]
subss xmm2, dword [eax]
subss xmm1, dword [eax + 4]
subss xmm0, dword [eax + 8]
movss dword [ebp - 0x1e0], xmm2
movss dword [ebp - 0x1d4], xmm1
movss dword [ebp - 0x1dc], xmm0
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
call fcn.10013350
movsd xmm1, qword [ebp - 0x250]
divsd xmm1, xmm0
movss xmm4, dword [ebp - 0x1c]
cvtpd2ps xmm0, xmm1
movss xmm1, dword [ebp - 0x1e0]
movss xmm5, dword [ebp - 0x14]
movss xmm6, dword [ebp - 0x18]
mulss xmm1, xmm0
movss dword [ebp - 0x1e0], xmm1
movss dword [ebp - 0x34], xmm1
movss xmm1, dword [ebp - 0x1d4]
mulss xmm1, xmm0
movss dword [ebp - 0x1d4], xmm1
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [ebp - 0x1dc]
mulss xmm1, xmm0
movss dword [ebp - 0x1dc], xmm1
movss dword [ebp - 0x2c], xmm1
movss xmm0, dword [ebp - 0x1e8]
lea eax, [ebp - 0x10]
subss xmm0, xmm4
push eax
push eax
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x1e4]
subss xmm0, xmm5
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebp - 0x1d8]
subss xmm0, xmm6
movss dword [ebp - 8], xmm0
call dword [sym.imp.d3dx9_43.dll_D3DXVec3Normalize]
movss xmm3, dword [ebp - 0xc]
lea eax, [ebp - 0x28]
movss xmm2, dword [ebp - 8]
movaps xmm1, xmm3
mulss xmm1, dword [ebp - 0x1d4]
movaps xmm0, xmm2
push eax
mulss xmm0, dword [ebp - 0x1dc]
push eax
mulss xmm2, dword [ebp - 0x1e0]
mulss xmm3, dword [ebp - 0x1e0]
subss xmm1, xmm0
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [ebp - 0x10]
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x1dc]
mulss xmm0, dword [ebp - 0x1d4]
subss xmm1, xmm3
subss xmm2, xmm0
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x24], xmm2
call dword [sym.imp.d3dx9_43.dll_D3DXVec3Normalize]
movss xmm2, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
movss xmm3, dword [ebp - 0x24]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x1dc]
movaps xmm0, xmm3
push eax
mulss xmm0, dword [ebp - 0x1d4]
push eax
mulss xmm2, dword [ebp - 0x1e0]
mulss xmm3, dword [ebp - 0x1e0]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
movss xmm1, dword [ebp - 0x28]
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x1dc]
mulss xmm0, dword [ebp - 0x1d4]
subss xmm3, xmm1
subss xmm0, xmm2
movss dword [ebp - 8], xmm3
movss dword [ebp - 0xc], xmm0
call dword [sym.imp.d3dx9_43.dll_D3DXVec3Normalize]
movss xmm0, dword [ebp - 0x28]
movss xmm6, dword [ebp - 0x1e0]
movss xmm4, dword [ebp - 0x1dc]
movss xmm5, dword [ebp - 0x1d4]
movss dword [ebp - 0x90], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x88], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 8]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x80], xmm6
movss dword [ebp - 0x7c], xmm4
movss dword [ebp - 0x78], xmm5
movss dword [ebp - 0x58], xmm0
push 0x101f4568
lea eax, [ebp - 0x90]
mov dword [ebp - 0x64], 0
push eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x74], 0
push eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x54], 0x3f800000
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixMultiply]
mov eax, dword [esi + 0xc]
mov ecx, dword [0x101f3f18]
push dword [eax + 0x24]
mov edx, dword [ecx]
push 1
push ecx
call dword [edx + 0x104]
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
movss xmm0, dword [edi + 0xe8]
push ecx
mov ecx, edi
movss dword [ebp - 0x1d4], xmm0
mov eax, dword [eax + 0x54]
call eax
mov ecx, edi
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x1e0], xmm0
movss xmm0, dword [eax]
movss dword [ebp - 0x1dc], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x1ec], xmm0
call dword [sym.imp.Common.dll_public:_struct_Archetype::Munition_const____thiscall_CBeam::munitionarch_void_const]
movss xmm1, dword [ebp - 0x1dc]
mulss xmm1, xmm1
movss xmm0, dword [eax + 0x70]
subss xmm0, dword [ebp - 0x1d4]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x200], xmm0
movss xmm0, dword [ebp - 0x1e0]
mulss xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x1ec]
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10038c22
sqrtsd xmm0, xmm0
jmp 0x10038c27
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movsd xmm1, qword [ebp - 0x200]
lea edx, [ebp - 0x234]
mov eax, dword [esi + 0xc]
movss xmm3, dword [ebp - 0x1d4]
mulsd xmm1, xmm0
push edx
movss xmm0, dword [eax]
push str.g_fBeamParams
cvtpd2ps xmm2, xmm1
movss xmm1, dword [eax + 4]
mov eax, dword [0x101f41a8]
movss dword [ebp - 0x234], xmm3
movss dword [ebp - 0x230], xmm2
movss dword [ebp - 0x22c], xmm0
movss dword [ebp - 0x228], xmm1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
mov eax, dword [0x101f41a8]
lea edx, [ebp - 0x1d0]
push edx
push str.g_mWorldView
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [esi + 0xc]
push ecx
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x1ec], xmm0
movss dword [esp], xmm0
call fcn.10036bb0
fstp dword [ebp - 0x1d4]
movss xmm0, dword [ebp - 0x1d4]
movss dword [ebp - 0x244], xmm0
movss xmm0, dword [ebp - 0x1ec]
movss dword [esp], xmm0
call fcn.10036bb0
fld1
add esp, 4
fdivrp st(1)
mov dword [ebp - 0x238], 0
movss xmm1, dword [ebp - 0x1d4]
fstp dword [ebp - 0x1ec]
movss xmm0, dword [ebp - 0x1ec]
maxss xmm1, xmm0
movss dword [ebp - 0x240], xmm0
movss xmm0, dword [0x1008b888]
divss xmm0, xmm1
movsd xmm1, qword [ebp - 0x210]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov eax, dword [0x101f41a8]
lea edx, [ebp - 0x244]
cvtsd2ss xmm0, xmm0
push edx
push str.g_fBeamTaper
push eax
movss dword [ebp - 0x23c], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [0x101f41a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x104]
mov eax, dword [0x101f3f18]
push 2
push 0
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x144]
call dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::FindNext_void_]
mov edi, eax
test edi, edi
jne 0x10038755
cmp dword [0x100fdbf4], 7
je 0x10038db8
mov eax, dword [0x101f41a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [0x101f41a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov dword [0x100fdbf4], 7
mov eax, dword [0x101f3f18]
push dword [0x101f4260]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x15c]
mov eax, dword [0x101f3f18]
push 0x20
push 0
push dword [0x101f4268]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x190]
mov eax, dword [0x101f3f18]
push dword [0x101f425c]
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov eax, dword [0x101f3f18]
push dword [0x101f4384]
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov eax, dword [0x101f41a8]
push str.RenderLightEquip
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f41a8]
push 0
push 0x101f4264
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x101f41a8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov eax, dword [0x101f3f18]
push dword [0x101f41a0]
mov dword [0x100fdbf4], 4
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x104]
test byte [0x100940f8], 1
je 0x10038e7a
mov cl, 1
call fcn.100458d0
cmp dword [0x100fdbf4], 7
je 0x10038ea9
mov eax, dword [0x101f41a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [0x101f41a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov dword [0x100fdbf4], 7
mov eax, dword [0x101f3f18]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [0x101f41a8]
push 0
mov byte [0x101f41ea], 0
push str.g_bSoftParticle
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
mov eax, dword [0x101f41a8]
push 0
push str.g_bDistortion
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [0x101f41a8]
push 0
mov byte [0x101f41e9], 0
push str.g_bResizeParticle
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
mov eax, dword [0x101f41a8]
push str.RenderEffects
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f41a8]
push 0
push 0x101f4264
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x101f41a8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov eax, dword [0x101f3f18]
push dword [0x101f4224]
mov dword [0x100fdbf4], 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x164]
mov eax, dword [0x101f3f18]
push dword [0x101f4220]
push 0x16
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 1
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 1
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push dword [0x101f4214]
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x104]
mov eax, dword [0x101f3f18]
push dword [0x101f41a0]
push 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x104]
mov dword [0x679c4c], 0
mov dword [0x679c54], 0
mov dword [0x679c58], 0
mov esi, dword [ebp - 0x1f4]
mov dword [0x679c5c], 0
mov dword [0x679c60], 0
mov dword [0x679c64], 0
mov dword [0x679c68], 0
mov dword [0x679c6c], 0
mov dword [0x679c70], 0
mov dword [0x679c74], 0
mov dword [0x679c78], 1
mov dword [0x679c7c], 1
mov byte [esi + 0x34], 1
mov eax, 0x51c200
push dword [ebx + 8]
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
call eax
mov dword [0x679c54], 1
mov dword [0x679c4c], 1
mov dword [0x679c48], 1
mov dword [0x679c58], 1
mov dword [0x679c5c], 1
mov dword [0x679c60], 1
mov dword [0x679c64], 1
mov dword [0x679c68], 1
mov dword [0x679c6c], 1
mov dword [0x679c70], 1
mov dword [0x679c74], 1
mov dword [0x679c78], 1
cmp dword [0x100fdbf4], 7
je 0x100390fa
mov eax, dword [0x101f41a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [0x101f41a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov dword [0x100fdbf4], 7
mov eax, dword [0x101f3f18]
push 0
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x94]
mov ecx, esi
mov dword [0x100fdbf0], 5
mov byte [0x101f421c], 0
call fcn.100374e0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004d763
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret