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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0xb8]
sub rsp, 0x1a0
mov rax, qword [0x18056d580]
xor rax, rsp
mov qword [rbp - 0x30], rax
mov qword [r11 + 0x20], rsi
mov rbx, rcx
mov rsi, qword [0x180574950]
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14d, r8d
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0x98], xmm11
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rcx
test rcx, rcx
je 0x18013663d
cmp byte [rcx], 0
jne 0x180136656
mov r8d, 0x14f6
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.cpp
lea rcx, str.name___0__name_0____0
call fcn.180422088
cmp byte [rsi + 0x19bc], 0
jne 0x180136678
mov r8d, 0x14f7
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.cpp
lea rcx, str.g.WithinFrameScope
call fcn.180422088
mov eax, dword [rsi + 0x19b0]
cmp dword [rsi + 0x19b4], eax
jne 0x18013669f
mov r8d, 0x14f8
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.cpp
lea rcx, str.g.FrameCountEnded___g.FrameCount
call fcn.180422088
mov rcx, rbx
call fcn.180133dd0
test rax, rax
mov qword [rsp + 0x50], rax
mov rdi, rax
xorps xmm11, xmm11
sete byte [rsp + 0x31]
test rax, rax
jne 0x180136713
mov ecx, dword [rsi + 0x1ab8]
and ecx, 2
je 0x1801366db
movsd xmm0, qword [rsi + 0x1ad8]
movsd qword [rsp + 0x40], xmm0
jmp 0x1801366e4
mov qword [rsp + 0x60], 0
test ecx, ecx
lea rdx, [rsp + 0x40]
lea rax, [rsp + 0x60]
mov r8d, r14d
cmovne rax, rdx
mov rcx, rbx
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.180133ea0
mov rdi, rax
mov ecx, r14d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x180136728
or r14d, 6
mov ecx, r14d
and ecx, 0x1800000
cmp ecx, 0x800000
jne 0x180136752
mov r8d, 0x1508
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.cpp
lea rcx, str.flags__ImGuiWindowFlags_ChildWindow
call fcn.180422088
mov r13d, dword [rsi + 0x19b0]
mov r12d, dword [rdi + 0x250]
lea eax, [r13 - 1]
cmp r12d, eax
mov eax, dword [rdi + 0xa0]
mov dword [rsp + 0x38], eax
setl r15b
mov byte [rsp + 0x32], r15b
bt r14d, 0x1a
jae 0x1801367d8
movsxd rbx, dword [rsi + 0x1b70]
cmp ebx, dword [rsi + 0x1b60]
jl 0x1801367a9
mov r8d, 0x4fa
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.h
lea rcx, str.i___Size
call fcn.180422088
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, qword [rsi + 0x1b68]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0x90], eax
setne al
or cl, al
mov eax, dword [rsp + 0x38]
or r15b, cl
mov byte [rsp + 0x32], r15b
test r15b, r15b
jne 0x1801367ea
test eax, eax
jg 0x1801367ea
mov byte [rdi + 0x84], r15b
jmp 0x180136806
or dword [rdi + 0xa4], 8
or dword [rdi + 0xa8], 8
or dword [rdi + 0xac], 8
mov byte [rdi + 0x84], 1
xor ecx, ecx
cmp r12d, r13d
je 0x180136849
mov dword [rdi + 0xc], r14d
mov dword [rdi + 0x250], r13d
movsd xmm0, qword [rsi + 0x19a8]
mov word [rdi + 0x8a], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x254], xmm0
movzx eax, word [rsi + 0x1a10]
inc dword [rsi + 0x1a10]
mov word [rdi + 0x8c], ax
jmp 0x18013684d
mov r14d, dword [rdi + 0xc]
lea rbx, [rsi + 0x19f0]
mov eax, dword [rbx]
test eax, eax
jne 0x18013685f
mov rax, rcx
jmp 0x180136888
jg 0x18013687a
mov r8d, 0x504
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.h
lea rcx, str.Size___0
call fcn.180422088
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r12d, r13d
je 0x18013689a
test r14d, 0x5000000
cmovne rcx, rax
jmp 0x1801368a1
mov rcx, qword [rdi + 0x358]
mov qword [rsp + 0x60], rcx
test rcx, rcx
jne 0x1801368cb
bt r14d, 0x18
jae 0x1801368cb
mov r8d, 0x152b
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.cpp
lea rcx, str.parent_window___0____flags__ImGuiWindowFlags_ChildWindow_
call fcn.180422088
lea r15, [rdi + 0xc0]
mov eax, 8
cmp dword [r15], 0
jne 0x180136903
cmp dword [r15 + 4], 0
jne 0x1801368ee
mov edx, eax
mov rcx, r15
call fcn.180142180
mov eax, dword [rdi + 8]
movsxd rdx, dword [r15]
mov rcx, qword [r15 + 8]
mov dword [rcx + rdx*4], eax
mov eax, 8
inc dword [r15]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180136930
inc r8d
test ecx, ecx
je 0x18013691e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180141c80
movsxd rcx, dword [rbx]
xor r15d, r15d
mov rax, qword [rbx + 8]
mov dl, 1
mov qword [rax + rcx*8], rdi
mov rcx, rdi
inc dword [rbx]
mov qword [rsi + 0x1a18], r15
call fcn.18013a8d0
bt r14d, 0x1a
jae 0x1801369aa
movsxd rbx, dword [rsi + 0x1b70]
cmp ebx, dword [rsi + 0x1b60]
jl 0x180136980
mov r8d, 0x4fa
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.h
lea rcx, str.i___Size
call fcn.180422088
lea rbx, [rbx + rbx*2]
shl rbx, 4
lea rcx, [rsi + 0x1b70]
add rbx, qword [rsi + 0x1b68]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180141a20
mov eax, dword [rbx]
mov dword [rdi + 0x90], eax
cmp dword [rsp + 0x38], 0
jle 0x1801369bf
bt r14d, 0x18
jb 0x1801369bf
mov dword [rdi + 0x380], r15d
xor cl, cl
xor dl, dl
test byte [rsi + 0x1ab8], 1
mov byte [rsp + 0x34], dl
mov byte [rsp + 0x33], cl
mov byte [rsp + 0x30], cl
je 0x180136a53
mov r8d, dword [rsi + 0x1abc]
mov ecx, dword [rdi + 0xa4]
test r8d, ecx
setne dl
mov byte [rsp + 0x34], dl
test r8d, ecx
je 0x180136a44
movss xmm0, dword [rsi + 0x1ad4]
movss xmm1, dword [rsi + 0x1ad0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18052a2e4]
jbe 0x180136a44
movsd xmm0, qword [rsi + 0x1ac8]
and ecx, 0xfffffff1
movsd qword [rdi + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x1ad0]
movsd qword [rdi + 0xb8], xmm1
mov dword [rdi + 0xa4], ecx
jmp 0x180136a53
lea rdx, [rsi + 0x1ac8]
mov rcx, rdi
call fcn.180139b10
test byte [rsi + 0x1ab8], 2
je 0x180136ab4
mov r8d, dword [rsi + 0x1ac0]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x180136a83
movss xmm0, dword [rsi + 0x1ad8]
comiss xmm0, xmm11
jbe 0x180136a83
mov byte [rsp + 0x33], 1
jmp 0x180136a8d
xor cl, cl
mov byte [rsp + 0x33], cl
test eax, eax
je 0x180136aa0
movss xmm0, dword [rsi + 0x1adc]
comiss xmm0, xmm11
mov byte [rsp + 0x30], 1
ja 0x180136aa5
mov byte [rsp + 0x30], 0
lea rdx, [rsi + 0x1ad8]
mov rcx, rdi
call fcn.180139c20
test byte [rsi + 0x1ab8], 4
je 0x180136acc
movsd xmm0, qword [rsi + 0x1ae0]
movsd qword [rdi + 0x30], xmm0
jmp 0x180136ad9
cmp r12d, r13d
je 0x180136ad9
mov qword [rdi + 0x30], 0
test byte [rsi + 0x1ab8], 8
je 0x180136b08
mov eax, dword [rsi + 0x1ac4]
movzx ecx, byte [rsi + 0x1ae8]
test eax, eax
je 0x180136afb
test dword [rdi + 0xac], eax
je 0x180136b08
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], cl
test byte [rsi + 0x1ab8], 0x20
je 0x180136b19
mov rcx, rdi
call fcn.180138b40
cmp byte [rdi + 0x84], 0
je 0x180136b37
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov ebx, 1
cmp r12d, r13d
je 0x1801387a3
mov r13, qword [rsp + 0x60]
mov eax, r14d
movaps xmmword [rsp + 0x170], xmm6
and eax, 0x3000000
movaps xmmword [rsp + 0x160], xmm7
movaps xmmword [rsp + 0x150], xmm8
movaps xmmword [rsp + 0x140], xmm9
movaps xmmword [rsp + 0x130], xmm10
movaps xmmword [rsp + 0x110], xmm12
movaps xmmword [rsp + 0x100], xmm13
movaps xmmword [rsp + 0xf0], xmm14
movaps xmmword [rsp + 0xe0], xmm15
mov dword [rsp + 0x58], eax
mov qword [rdi + 0x358], r13
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
test r13, r13
je 0x180136bf9
cmp eax, 0x1000000
jne 0x180136bdb
mov rax, qword [r13 + 0x360]
mov qword [rdi + 0x360], rax
bt r14d, 0x1b
jb 0x180136bf9
test r14d, 0x5000000
je 0x180136bf9
mov rax, qword [r13 + 0x368]
mov qword [rdi + 0x368], rax
test dword [rdi + 0xc], 0x800000
je 0x180136c46
mov rax, rdi
cmp qword [rax + 0x358], 0
jne 0x180136c28
mov r8d, 0x14e6
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.cpp
lea rcx, [0x180508b30]
call fcn.180422088
mov rax, qword [rdi + 0x370]
mov rax, qword [rax + 0x358]
mov qword [rdi + 0x370], rax
test dword [rax + 0xc], 0x800000
jne 0x180136c05
cmp qword [rbp - 0x60], 0
mov byte [rdi + 0x7e], bl
setne al
mov byte [rdi + 0x86], al
mov dword [rdi + 0x230], 0xff7fffff
mov dword [rdi + 0x234], 0xff7fffff
mov dword [rdi + 0x238], 0x7f7fffff
mov dword [rdi + 0x23c], 0x7f7fffff
mov ecx, dword [rdi + 0xc4]
cmp ecx, ebx
jge 0x180136cb5
test ecx, ecx
je 0x180136c98
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180136c9d
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0xc0]
mov edx, ebx
mov r12d, ebx
cmovg edx, eax
call fcn.180142180
jmp 0x180136cb8
mov r12d, ebx
mov dword [rdi + 0xc0], r12d
cmp byte [rdi + 0x3a8], 0
je 0x180136d06
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3ac]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.180142060
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3b0]
add rcx, 0x20
call fcn.180141df0
mov qword [rdi + 0x3ac], 0
cmp qword [rsi + 0x1bd8], 0
mov r8, qword [rsp + 0x50]
je 0x180136dd8
test dword [rdi + 0xc], 0x80000
jne 0x180136dd8
test r8, r8
je 0x180136dd8
mov r12, qword [rbp - 0x58]
mov r9, qword [rdi]
mov rax, r12
mov r8, r9
sub r8, r12
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180136d53
inc rax
test ecx, ecx
jne 0x180136d40
test edx, edx
je 0x180136dd0
movsxd r15, dword [rdi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x180136d62
inc rbx
cmp r15, rbx
jae 0x180136db3
test r9, r9
je 0x180136d8b
mov rax, qword [0x180574950]
test rax, rax
je 0x180136d8b
dec dword [rax + 0x3bc]
mov rcx, r9
call fcn.18041c048
mov rax, qword [0x180574950]
test rax, rax
je 0x180136da5
inc dword [rax + 0x3bc]
mov rcx, rbx
call fcn.180422140
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call fcn.180447530
mov qword [rdi], rax
mov r12d, 1
mov dword [rdi + 0x48], r15d
jmp 0x180136dd3
mov r12d, ebx
mov r8, qword [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180134550
movss xmm3, dword [rax]
movss xmm4, dword [rax + 4]
mov eax, dword [rdi + 0x9c]
movss dword [rdi + 0x28], xmm3
movss dword [rdi + 0x2c], xmm4
test eax, eax
jle 0x180136e0a
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x180136e1c
dec eax
mov dword [rdi + 0xa0], eax
movzx ebx, byte [rsp + 0x33]
test r8, r8
jne 0x180136e38
test bl, bl
je 0x180136e31
cmp byte [rsp + 0x30], r8b
jne 0x180136e38
mov dword [rdi + 0xa0], r12d
xor edx, edx
cmp byte [rsp + 0x32], dl
je 0x180136e7b
test r14d, 0x6000000
je 0x180136e7b
mov dword [rdi + 0xa0], r12d
test r14b, 0x40
je 0x180136e7b
test bl, bl
jne 0x180136e60
mov dword [rdi + 0x20], edx
mov dword [rdi + 0x18], edx
movzx r12d, byte [rsp + 0x30]
test r12b, r12b
jne 0x180136e71
mov dword [rdi + 0x24], edx
mov dword [rdi + 0x1c], edx
mov qword [rdi + 0x28], 0
jmp 0x180136e81
movzx r12d, byte [rsp + 0x30]
mov rcx, qword [0x180574950]
movss xmm0, dword [rcx + 0x1914]
mov qword [rcx + 0x1a18], rdi
mov rax, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180136eb3
mulss xmm0, dword [rax + 0x2a0]
movss dword [rcx + 0x1928], xmm0
movss dword [rcx + 0x1910], xmm0
bt r14d, 0x18
jae 0x180136ed4
movss xmm1, dword [rsi + 0x1584]
jmp 0x180136ef6
test r14d, 0x6000000
je 0x180136eee
bt r14d, 0x1b
jb 0x180136eee
movss xmm1, dword [rsi + 0x158c]
jmp 0x180136ef6
movss xmm1, dword [rsi + 0x1568]
mov rax, rdi
movss dword [rax + 0x44], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x180136f3f
ucomiss xmm1, xmm11
jp 0x180136f3f
jne 0x180136f3f
bt r14d, 0xa
jae 0x180136f33
movss xmm0, dword [rsi + 0x1560]
jmp 0x180136f37
movaps xmm0, xmm11
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], edx
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rsi + 0x15a0]
maxss xmm0, dword [rsi + 0x1b14]
movss dword [rdi + 0x14c], xmm0
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x150], eax
test r14b, 0x21
jne 0x1801370a6
test byte [rdi + 0xc], 1
je 0x180136f7e
movaps xmm2, xmm11
jmp 0x180136fb2
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rcx + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180136fa2
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rcx + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rdi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [rdi + 0x14]
addss xmm3, dword [rdi + 0x20]
addss xmm2, dword [rdi + 0x14]
cmp qword [rsi + 0x1a20], rdi
jne 0x180137067
cmp dword [rsi + 0x1a4c], 0
jne 0x180137067
cmp dword [rsi + 0x1a54], 0
jne 0x180137067
mov rax, qword [rcx + 0x1a18]
movss xmm1, dword [rcx + 0x15b0]
movss xmm0, dword [rcx + 0x15b4]
maxss xmm4, dword [rax + 0x230]
minss xmm3, dword [rax + 0x238]
maxss xmm5, dword [rax + 0x234]
minss xmm2, dword [rax + 0x23c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rcx + 0x130]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x180137067
movss xmm0, dword [rcx + 0x134]
comiss xmm0, xmm5
jb 0x180137067
comiss xmm3, xmm1
jbe 0x180137067
comiss xmm2, xmm0
jbe 0x180137067
cmp byte [rsi + 0x425], 0
je 0x180137067
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x1801370ad
cmp byte [rdi + 0x81], 0
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x81], al
jne 0x18013709c
comiss xmm11, dword [rcx + 0x2ef8]
jb 0x18013709c
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov rcx, rdi
call fcn.180138b40
jmp 0x1801370ad
mov byte [rdi + 0x81], 0
lea r8, [rdi + 0x28]
mov byte [rdi + 0x82], 0
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180134610
movzx r15d, byte [rsp + 0x31]
test r14b, 0x40
je 0x18013710a
cmp byte [rdi + 0x81], 0
jne 0x18013710a
test bl, bl
jne 0x1801370ee
movss xmm0, dword [rsp + 0x40]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r12b, r12b
jne 0x1801371ad
movss xmm0, dword [rsp + 0x44]
mov r15b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x1801371ad
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x180137122
cmp byte [rdi + 0x95], 0
jle 0x1801371ad
test bl, bl
jne 0x18013714f
test al, al
jle 0x18013714f
cmp byte [rdi + 0x97], bl
je 0x18013713f
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x40]
jmp 0x180137145
movss xmm0, dword [rsp + 0x40]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r12b, r12b
jne 0x180137181
cmp byte [rdi + 0x95], r12b
jle 0x180137181
cmp byte [rdi + 0x97], r12b
je 0x180137173
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x44]
jmp 0x180137179
movss xmm0, dword [rsp + 0x44]
movss dword [rdi + 0x24], xmm0
mov r15b, 1
cmp byte [rdi + 0x81], 0
jne 0x1801371ad
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x180574950]
jne 0x1801371ad
comiss xmm11, dword [rcx + 0x2ef8]
jb 0x1801371ad
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.1801342b0
cmp byte [rdi + 0x81], 0
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm3
movss dword [rdi + 0x24], xmm0
je 0x180137250
bt r14d, 0x18
jb 0x180137250
test byte [rdi + 0xc], 1
mov rcx, qword [0x180574950]
je 0x1801371f4
movaps xmm2, xmm11
jmp 0x180137228
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rcx + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180137218
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rcx + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [rdi + 0x10]
addss xmm2, dword [rdi + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm2, dword [rdi + 0x14]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm2
movss dword [rsp + 0x48], xmm0
jmp 0x18013725b
movsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x48], xmm0
mov edx, dword [rdi + 0xc]
lea rax, [rsp + 0x48]
movsd xmm0, qword [rax]
mov rax, qword [0x180574950]
movsd qword [rdi + 0x18], xmm0
test dl, 1
je 0x18013727e
movaps xmm1, xmm11
jmp 0x1801372b2
mov rcx, qword [rdi + 0x358]
movss xmm0, dword [rax + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rcx, rcx
je 0x1801372a2
mulss xmm0, dword [rcx + 0x2a0]
movss xmm1, dword [rax + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt edx, 0xa
jae 0x1801372fb
mov rcx, qword [rdi + 0x358]
movss xmm14, dword [rax + 0x1914]
mulss xmm14, dword [rdi + 0x2a0]
test rcx, rcx
je 0x1801372df
mulss xmm14, dword [rcx + 0x2a0]
movss xmm0, dword [rax + 0x1594]
addss xmm14, dword [rdi + 0x150]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x1801372ff
movaps xmm14, xmm11
cmp byte [rsp + 0x32], 0
addss xmm14, xmm1
movzx r12d, byte [rsp + 0x34]
je 0x180137374
mov dword [rdi + 0x98], 0xffffffff
bt r14d, 0x1a
jae 0x180137374
test r12b, r12b
jne 0x180137374
cmp dword [rsi + 0x1b70], 0
jg 0x180137349
mov r8d, 0x504
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.h
lea rcx, str.Size___0
call fcn.180422088
movsxd rax, dword [rsi + 0x1b70]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1b78]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
bt r14d, 0x18
jae 0x18013741e
test r13, r13
je 0x18013738b
cmp byte [r13 + 0x7e], 0
jne 0x1801373a4
mov r8d, 0x15fb
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.cpp
lea rcx, str.parent_window__parent_window__Active
call fcn.180422088
lea rbx, [r13 + 0x158]
movzx eax, word [rbx]
mov word [rdi + 0x8a], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1801373e9
inc r8d
test ecx, ecx
je 0x1801373d2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1801373d7
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180141c80
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ebx, dword [rsp + 0x58]
bt r14d, 0x1a
jb 0x180137422
test r12b, r12b
jne 0x180137422
cmp ebx, 0x3000000
je 0x180137422
movsd xmm0, qword [r13 + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x180137422
mov ebx, dword [rsp + 0x58]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x18052a5c0]
jp 0x180137435
je 0x180137486
cmp dword [rdi + 0xa0], 0
jne 0x180137486
movss xmm0, dword [rdi + 0x20]
lea rdx, [rsp + 0x48]
mulss xmm0, dword [rdi + 0xb8]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x48], xmm1
movss xmm1, dword [rdi + 0xbc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.180139b10
jmp 0x1801374d3
bt r14d, 0x1c
jb 0x1801374b4
bt r14d, 0x1a
jae 0x1801374a0
test r12b, r12b
jne 0x1801374a0
cmp dword [rsp + 0x38], 0
jg 0x1801374b4
bt r14d, 0x19
jae 0x1801374d3
test r12b, r12b
jne 0x1801374d3
cmp ebx, 0x3000000
je 0x1801374d3
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.18013bf20
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov rax, qword [0x180574950]
movss dword [rbp - 0x50], xmm11
movss dword [rbp - 0x4c], xmm11
movss xmm6, dword [rax + 0x14]
movss xmm15, dword [rax + 0x10]
movss dword [rbp - 0x48], xmm15
movss dword [rsp + 0x38], xmm6
movss dword [rbp - 0x44], xmm6
test r12b, r12b
jne 0x180137628
bt r14d, 0x18
jb 0x180137628
cmp byte [rdi + 0x94], r12b
jg 0x180137628
cmp byte [rdi + 0x95], r12b
jg 0x180137628
movss xmm0, dword [rsi + 0x10]
comiss xmm0, xmm11
jbe 0x180137628
movss xmm0, dword [rsi + 0x14]
comiss xmm0, xmm11
jbe 0x180137628
movss xmm5, dword [rsi + 0x15f0]
movss xmm4, dword [rsi + 0x15ec]
maxss xmm5, dword [rsi + 0x15f8]
maxss xmm4, dword [rsi + 0x15f4]
cmp byte [rax + 0xcc], r12b
je 0x1801375c4
test byte [rdi + 0xc], 1
jne 0x1801375c4
mov rcx, qword [rdi + 0x358]
movss xmm0, dword [rax + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rcx, rcx
je 0x1801375a1
mulss xmm0, dword [rcx + 0x2a0]
movss xmm1, dword [rax + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
jmp 0x1801375cf
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x48], xmm0
lea rax, [rsp + 0x48]
movaps xmm3, xmm15
movss xmm1, dword [rax]
subss xmm3, xmm4
movss xmm2, dword [rax + 4]
addss xmm4, xmm11
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x10]
maxss xmm0, xmm4
subss xmm0, xmm1
movaps xmm1, xmm6
subss xmm1, xmm5
addss xmm5, xmm11
minss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x14]
movss dword [rdi + 0x10], xmm3
maxss xmm0, xmm5
subss xmm0, xmm2
minss xmm1, xmm0
movss dword [rdi + 0x14], xmm1
cvttss2si eax, dword [rdi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x14], xmm0
bt r14d, 0x18
jae 0x18013765b
movss xmm2, dword [rsi + 0x1580]
jmp 0x18013767c
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180137674
movss xmm2, dword [rsi + 0x1588]
jmp 0x18013767c
movss xmm2, dword [rsi + 0x1564]
xor r13b, r13b
movss dword [rdi + 0x40], xmm2
cmp byte [rsp + 0x32], r13b
je 0x1801376b2
bt r14d, 0xc
jb 0x1801376b2
bt r14d, 0x1a
jae 0x18013769e
mov r13b, 1
jmp 0x1801376b2
test r14d, 0x3000000
movzx r13d, r13b
mov eax, 1
cmove r13d, eax
addss xmm2, dword [0x18052a3b0]
xorps xmm0, xmm0
mov dword [rsp + 0x68], 0xffffffff
movups xmmword [rbp - 0x40], xmm0
xor r12d, r12d
movss xmm0, dword [rsi + 0x1910]
cmp byte [rsi + 0xcb], r12b
movaps xmm1, xmm0
mulss xmm0, dword [0x18052a324]
setne r12b
cmp byte [rdi + 0x81], 0
mulss xmm1, dword [0x18052a3d8]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x48], xmm0
jne 0x180137741
lea rax, [rbp - 0x40]
mov rcx, rdi
lea r9d, [r12 + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
call fcn.180134a50
test al, al
je 0x180137741
mov r15b, 1
movzx ecx, r15b
jmp 0x180137746
movzx ecx, byte [rsp + 0x31]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x68]
mov byte [rdi + 0x87], al
jne 0x180137885
cmp qword [rsp + 0x50], 0
movss xmm2, dword [rdi + 0x208]
movss xmm3, dword [rdi + 0x20c]
subss xmm2, dword [rdi + 0x200]
subss xmm3, dword [rdi + 0x204]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x1801377ad
mov qword [rbp - 0x70], 0
lea rax, [rbp - 0x70]
jmp 0x1801377d7
movss xmm0, dword [rdi + 0x38]
lea rax, [rbp - 0x68]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x68], xmm0
movss dword [rbp - 0x64], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x1801377e7
movaps xmm5, xmm2
test r15b, r15b
jne 0x1801377ef
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x180137805
comiss xmm1, xmm4
jbe 0x180137801
test r14b, 8
je 0x180137805
xor cl, cl
jmp 0x180137807
mov cl, 1
mov byte [rdi + 0x7d], cl
bt r14d, 0xf
jb 0x180137845
test cl, cl
je 0x18013781f
movss xmm0, dword [rsi + 0x15c0]
jmp 0x180137823
movaps xmm0, xmm11
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18013783b
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x180137845
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm11
jmp 0x180137869
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x180137861
comiss xmm1, xmm4
jbe 0x18013785c
test r14b, 8
jne 0x18013785c
mov cl, 1
jmp 0x18013785e
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rsi + 0x15c0]
test cl, cl
je 0x180137877
movss xmm0, dword [rsi + 0x15c0]
jmp 0x18013787b
movaps xmm0, xmm11
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1801378a9
cmp ebx, 0x3000000
je 0x1801378a9
mov rax, qword [rsp + 0x60]
add rax, 0x230
jmp 0x1801378ad
lea rax, [rbp - 0x50]
test byte [rdi + 0xc], 1
movss xmm7, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm3, xmm7
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
mov rcx, qword [0x180574950]
movaps xmm4, xmm5
addss xmm4, dword [rdi + 0x1c]
je 0x1801378dd
movaps xmm0, xmm11
jmp 0x180137911
mov rax, qword [rdi + 0x358]
movss xmm1, dword [rcx + 0x1914]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x180137901
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [rcx + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm5
movss dword [rsp + 0x70], xmm7
addss xmm1, xmm0
movaps xmm2, xmm7
movss xmm0, dword [rdi + 0x14]
mov eax, r14d
addss xmm2, dword [rdi + 0x20]
movss dword [rsp + 0x74], xmm0
and eax, 0x401
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x78], xmm2
movss dword [rdi + 0x1f0], xmm7
movss dword [rdi + 0x1f4], xmm5
movss dword [rdi + 0x1f8], xmm3
movaps xmm3, xmm6
movss dword [rdi + 0x1fc], xmm4
movaps xmm4, xmm6
movss xmm0, dword [rdi + 0x1f0]
shufps xmm4, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
movss dword [rdi + 0x1f0], xmm0
movss dword [rdi + 0x1f4], xmm5
movaps xmm5, xmm6
movss xmm1, dword [rdi + 0x1f8]
movss xmm0, dword [rdi + 0x1fc]
minss xmm1, xmm3
shufps xmm5, xmm6, 0xff
minss xmm0, xmm5
movss dword [rdi + 0x1f8], xmm1
movss dword [rdi + 0x1fc], xmm0
movss xmm7, dword [rdi + 0x10]
movss xmm9, dword [rdi + 0x14]
movaps xmm10, xmm7
movss dword [rdi + 0x200], xmm7
movaps xmm12, xmm9
addss xmm12, xmm14
addss xmm10, dword [rdi + 0x18]
addss xmm9, dword [rdi + 0x1c]
movss dword [rdi + 0x204], xmm12
subss xmm10, dword [rdi + 0x74]
subss xmm9, dword [rdi + 0x78]
movss dword [rdi + 0x208], xmm10
movss dword [rdi + 0x20c], xmm9
cmp eax, 1
jne 0x180137a22
movss xmm8, dword [rdi + 0x44]
jmp 0x180137a2b
movss xmm8, dword [rsi + 0x159c]
movss xmm13, dword [0x18052a35c]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm7, xmm13
mulss xmm0, xmm13
addss xmm12, xmm13
addss xmm10, xmm13
addss xmm9, xmm13
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm8
subss xmm9, dword [rdi + 0x44]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x44]
addss xmm7, xmm1
subss xmm10, xmm1
cvttss2si eax, xmm7
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
cvttss2si eax, xmm12
movss dword [rdi + 0x210], xmm7
cvtsi2ss xmm0, eax
cvttss2si eax, xmm10
movss dword [rdi + 0x214], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x218], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x21c], xmm0
movss xmm0, dword [rdi + 0x214]
comiss xmm4, xmm0
jbe 0x180137ad7
movaps xmm1, xmm4
jmp 0x180137ade
movaps xmm1, xmm5
minss xmm1, xmm0
comiss xmm6, xmm7
jbe 0x180137ae8
movaps xmm0, xmm6
jmp 0x180137aef
movaps xmm0, xmm3
minss xmm0, xmm7
movss dword [rdi + 0x210], xmm0
movss dword [rdi + 0x214], xmm1
movss xmm0, dword [rdi + 0x21c]
comiss xmm4, xmm0
ja 0x180137b13
minss xmm5, xmm0
movaps xmm4, xmm5
movss xmm0, dword [rdi + 0x218]
comiss xmm6, xmm0
jbe 0x180137b25
movaps xmm3, xmm6
jmp 0x180137b29
minss xmm3, xmm0
movss dword [rdi + 0x218], xmm3
movss dword [rdi + 0x21c], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm11
jbe 0x180137b57
test r14d, 0x2000040
jne 0x180137b57
mulss xmm0, dword [0x18052a36c]
jmp 0x180137b67
movss xmm0, dword [rsi + 0x1910]
mulss xmm0, dword [0x18052a4c0]
cvttss2si eax, xmm0
mov rcx, rdi
mov r8b, 1
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x258], xmm0
lea rcx, [rbp - 0x80]
movss xmm0, dword [rdi + 0x208]
subss xmm0, dword [rdi + 0x200]
movss xmm1, dword [rdi + 0x38]
movss xmm2, dword [rdi + 0x3c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm11
maxss xmm0, xmm1
movss dword [rdi + 0x5c], xmm0
movss xmm0, dword [rdi + 0x20c]
subss xmm0, dword [rdi + 0x204]
subss xmm2, xmm0
movaps xmm0, xmm11
maxss xmm0, xmm2
movss dword [rdi + 0x60], xmm0
call fcn.18013aa80
mov rcx, qword [rdi + 0x2a8]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x54], xmm0
movss dword [rdi + 0x58], xmm1
mov dword [rdi + 0x64], 0x7f7fffff
mov dword [rdi + 0x68], 0x7f7fffff
call fcn.18014bd10
mov rax, qword [rsi + 0x1908]
mov rcx, qword [rdi + 0x2a8]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.18014c3d0
mov rcx, qword [0x180574950]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1a18]
mov byte [rax + 0x80], 1
mov rbx, qword [rcx + 0x1a18]
mov rcx, qword [rbx + 0x2a8]
call fcn.18014c2a0
mov r15, qword [rbx + 0x2a8]
cmp dword [r15 + 0x60], 0
jg 0x180137c95
mov r8d, 0x504
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.h
lea rcx, str.Size___0
call fcn.180422088
mov rax, qword [r15 + 0x68]
movsxd rcx, dword [r15 + 0x60]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x230], eax
movss dword [rbx + 0x234], xmm0
movss dword [rbx + 0x238], xmm1
movss dword [rbx + 0x23c], xmm2
mov r9, qword [0x180574950]
bt r14d, 0x1b
jae 0x180137d3b
mov eax, dword [r9 + 0x1b60]
sub eax, 1
js 0x180137d22
mov r8, qword [r9 + 0x1b68]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x180137d18
test dword [rax + 0xc], 0x8000000
jne 0x180137d24
sub r8, 0x30
sub rdx, 1
jns 0x180137d07
xor eax, eax
cmp rdi, rax
jne 0x180137d3b
cmp dword [rdi + 0xa0], 0
jg 0x180137d3b
mov cl, 1
mov edx, 0x3a0
jmp 0x180137d42
xor cl, cl
mov edx, 0x390
mov rax, qword [rsi + 0x1bd0]
test rax, rax
je 0x180137d5b
cmp rdi, qword [rax + 0x360]
jne 0x180137d5b
mov bl, 1
jmp 0x180137d5d
xor bl, bl
test cl, cl
jne 0x180137d69
test bl, bl
je 0x180137eac
movups xmm1, xmmword [rdx + r9 + 0x1558]
lea rcx, [rbp - 0x80]
movss xmm0, dword [rsi + 0x1d38]
mulss xmm0, dword [r9 + 0x1558]
movups xmmword [rbp - 0x80], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x74], xmm1
call fcn.18012c9a0
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x50]
mov r9d, eax
mov dword [rsp + 0x28], reloc.WS2_32.dll_ntohs
lea r8, [rbp - 0x48]
movss dword [rsp + 0x20], xmm11
call fcn.18014e4e0
test bl, bl
je 0x180137eac
movss xmm12, dword [rsp + 0x38]
cmp rdi, qword [rsi + 0x1bd0]
jne 0x180137eb3
movss xmm0, dword [rsi + 0x1910]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movaps xmm4, xmm3
subss xmm1, xmm0
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
comiss xmm11, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x50], xmm1
movss dword [rbp - 0x48], xmm2
movss dword [rbp - 0x4c], xmm4
movss dword [rbp - 0x44], xmm3
jb 0x180137e3d
comiss xmm11, xmm4
jb 0x180137e3d
comiss xmm2, xmm15
jb 0x180137e3d
comiss xmm3, xmm12
jae 0x180137eb3
mov rax, qword [0x180574950]
lea rcx, [rbp - 0x80]
movss xmm0, dword [rsi + 0x1be4]
mulss xmm0, dword [0x18052a32c]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x80], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x74], xmm1
call fcn.18012c9a0
movss xmm0, dword [rsi + 0x1564]
lea r8, [rbp - 0x48]
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x50]
mov r9d, eax
mov dword [rsp + 0x28], reloc.WS2_32.dll_ntohs
movss dword [rsp + 0x20], xmm0
call fcn.18014e4e0
jmp 0x180137eb3
movss xmm12, dword [rsp + 0x38]
mov eax, r14d
xor r15b, r15b
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180137f22
cmp dword [rsp + 0x58], 0x3000000
je 0x180137f22
mov rbx, qword [rdi + 0x2a8]
cmp dword [rbx], 0
jg 0x180137ef4
mov r8d, 0x504
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.h
lea rcx, str.Size___0
call fcn.180422088
movsxd rax, dword [rbx]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
cmp dword [rcx + rax - 0x38], 0
jne 0x180137f22
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x2a8]
cmp dword [rax + 0x20], 0
jle 0x180137f22
mov r15b, 1
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsi + 0x1bc8]
test rax, rax
jne 0x180137f35
mov rax, qword [rsi + 0x1b80]
test r13b, r13b
jne 0x180137f54
test rax, rax
je 0x180137f4f
mov rax, qword [rax + 0x368]
cmp qword [rdi + 0x368], rax
je 0x180137f54
xor r8b, r8b
jmp 0x180137f57
mov r8b, 1
movss xmm0, dword [rsp + 0x48]
lea rax, [rbp - 0x40]
movss dword [rsp + 0x28], xmm0
lea r9d, [r12 + 1]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.1801358a0
test r15b, r15b
je 0x180137f91
lea rax, [rdi + 0x2b0]
mov qword [rdi + 0x2a8], rax
cmp qword [rsi + 0x1bd0], rdi
jne 0x180138115
movss xmm1, dword [rsi + 0x1910]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x40]
subss xmm9, xmm1
movaps xmm8, xmm6
movaps xmm10, xmm2
addss xmm6, dword [rdi + 0x1c]
maxss xmm10, dword [rsi + 0x1564]
subss xmm8, xmm1
comiss xmm11, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x18013802c
comiss xmm11, xmm8
jb 0x18013802c
comiss xmm7, xmm15
jb 0x18013802c
comiss xmm6, xmm12
jb 0x18013802c
xorps xmm1, xmmword [0x18052a8b0]
movaps xmm10, xmm2
subss xmm1, dword [0x18052a3b0]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x180574950]
lea rcx, [rbp - 0x40]
movss xmm0, dword [rsi + 0x1be4]
mov rbx, qword [rdi + 0x2a8]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x40], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x34], xmm1
call fcn.18012c9a0
mov r15d, eax
test eax, 0xff000000
je 0x180138115
test byte [rbx + 0x30], 1
addss xmm9, xmm13
addss xmm8, xmm13
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm10
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rbx
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x44], xmm8
je 0x1801380bc
subss xmm7, xmm13
subss xmm6, xmm13
jmp 0x1801380cc
subss xmm7, dword [0x18052a354]
subss xmm6, dword [0x18052a354]
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x54], xmm6
call fcn.18014dea0
movss xmm0, dword [0x18052a454]
mov r9d, r15d
mov r8d, dword [rbx + 0x80]
mov rcx, rbx
mov rdx, qword [rbx + 0x88]
movss dword [rsp + 0x28], xmm0
mov byte [rsp + 0x20], 1
call fcn.18014c6a0
xor r12d, r12d
mov dword [rbx + 0x80], r12d
jmp 0x180138118
xor r12d, r12d
movss xmm6, dword [rdi + 0x30]
mov ecx, r14d
movaps xmm15, xmmword [rsp + 0xe0]
movaps xmm13, xmmword [rsp + 0x100]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm11
jp 0x180138180
jne 0x180138180
movss xmm0, dword [rdi + 0x38]
mov eax, r14d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x180138175
movss xmm9, dword [rdi + 0x28]
maxss xmm9, xmm1
jmp 0x180138184
movaps xmm9, xmm11
maxss xmm9, xmm1
jmp 0x180138184
movaps xmm9, xmm6
movss xmm4, dword [rdi + 0x34]
ucomiss xmm4, xmm11
jp 0x1801381c9
jne 0x1801381c9
movss xmm0, dword [rdi + 0x3c]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0x78]
test cl, cl
je 0x1801381be
movss xmm8, dword [rdi + 0x2c]
maxss xmm8, xmm1
jmp 0x1801381cd
movaps xmm8, xmm11
maxss xmm8, xmm1
jmp 0x1801381cd
movaps xmm8, xmm4
ucomiss xmm6, xmm11
movss xmm5, dword [rdi + 0x38]
movss xmm10, dword [rdi + 0x54]
movaps xmm0, xmm5
maxss xmm0, dword [rdi + 0x44]
movss xmm1, dword [rdi + 0x200]
movss xmm7, dword [rdi + 0x3c]
subss xmm1, xmm10
movss xmm12, dword [rdi + 0x58]
addss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, dword [rdi + 0x44]
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x204]
subss xmm1, xmm12
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
addss xmm9, xmm3
movss dword [rdi + 0x220], xmm3
movss xmm3, dword [rdi + 0x10]
cvttss2si eax, xmm1
movss dword [rdi + 0x228], xmm9
movaps xmm9, xmmword [rsp + 0x140]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm8, xmm2
movss dword [rdi + 0x224], xmm2
movaps xmm2, xmm3
subss xmm2, xmm10
movss dword [rdi + 0x22c], xmm8
movss xmm8, dword [rdi + 0x14]
movaps xmm1, xmm8
addss xmm2, xmm5
subss xmm1, xmm12
movss dword [rdi + 0x240], xmm2
addss xmm1, xmm7
addss xmm1, xmm14
movss dword [rdi + 0x244], xmm1
jp 0x1801382b6
jne 0x1801382b6
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x74]
ucomiss xmm4, xmm11
addss xmm6, xmm2
movss dword [rdi + 0x248], xmm6
movaps xmm6, xmmword [rsp + 0x170]
jp 0x1801382ec
jne 0x1801382ec
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rdi + 0x78]
mov qword [rdi + 0x1e0], 0
addss xmm7, xmm14
movaps xmm14, xmmword [rsp + 0xf0]
addss xmm5, xmm11
addss xmm4, xmm1
subss xmm7, xmm12
movaps xmm12, xmmword [rsp + 0x110]
subss xmm5, xmm10
movaps xmm10, xmmword [rsp + 0x130]
movss dword [rdi + 0x24c], xmm4
addss xmm7, xmm8
movaps xmm8, xmmword [rsp + 0x150]
movss dword [rdi + 0x1dc], xmm5
addss xmm5, xmm11
movss dword [rdi + 0xe4], xmm7
movss dword [rdi + 0xd4], xmm7
addss xmm5, xmm3
movss dword [rdi + 0xdc], xmm7
movss dword [rdi + 0xec], xmm7
movaps xmm7, xmmword [rsp + 0x160]
movss dword [rdi + 0xe0], xmm5
movss dword [rdi + 0xd0], xmm5
movss dword [rdi + 0xd8], xmm5
movss dword [rdi + 0xe8], xmm5
mov qword [rdi + 0xf8], 0
mov qword [rdi + 0xf0], 0
mov qword [rdi + 0x100], 0
mov byte [rdi + 0x148], 0
movss xmm0, dword [rdi + 0x60]
comiss xmm0, xmm11
seta al
mov byte [rdi + 0x149], al
mov eax, dword [rdi + 0x144]
mov dword [rdi + 0x140], eax
mov dword [rdi + 0x144], r12d
mov byte [rdi + 0x14a], 0
mov ecx, dword [rdi + 0x15c]
test ecx, ecx
jns 0x180138414
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x158]
test eax, eax
cmovg edx, eax
call fcn.180141c80
mov r15, qword [rsp + 0x60]
mov eax, 1
mov dword [rdi + 0x158], r12d
mov dword [rdi + 0x170], eax
test r15, r15
je 0x180138451
mov eax, dword [r15 + 0x170]
mov dword [rdi + 0x174], eax
mov qword [rdi + 0x178], 0xffffffffffffffff
mov eax, dword [r15 + 0x180]
jmp 0x180138465
mov dword [rdi + 0x174], eax
mov eax, r12d
mov qword [rdi + 0x178], 0xffffffffffffffff
mov dword [rdi + 0x180], eax
mov eax, dword [rdi + 0x258]
mov dword [rdi + 0x184], eax
mov dword [rdi + 0x188], 0xbf800000
mov ecx, dword [rdi + 0x194]
test ecx, ecx
jns 0x1801384a8
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.180142180
mov dword [rdi + 0x190], r12d
mov ecx, dword [rdi + 0x1a4]
test ecx, ecx
jns 0x1801384d6
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a0]
test eax, eax
cmovg edx, eax
call fcn.180142180
mov dword [rdi + 0x1a0], r12d
mov ecx, dword [rdi + 0x1b4]
test ecx, ecx
jns 0x180138504
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.180142180
mov dword [rdi + 0x1b0], r12d
lea rax, [rdi + 0x280]
mov qword [rdi + 0x1e8], r12
lea rcx, [rdi + 0x1c0]
mov qword [rdi + 0x108], 0
xor edx, edx
mov qword [rdi + 0x168], rax
call fcn.1801416a0
cmp byte [rsp + 0x32], 0
movss xmm0, dword [rsi + 0x15a0]
movss dword [rdi + 0x25c], xmm0
mov qword [rdi + 0x260], 0
je 0x18013856a
xor eax, eax
mov qword [rdi + 0x274], rax
mov dword [rdi + 0x27c], eax
movss xmm1, dword [rdi + 0x260]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x274]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x268], xmm0
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x274], r12d
movss xmm0, dword [rdi + 0x278]
comiss xmm0, xmm11
jbe 0x1801385c2
movss xmm0, dword [rdi + 0x25c]
addss xmm0, dword [rdi + 0x260]
movss dword [rdi + 0x260], xmm0
movss xmm1, dword [rdi + 0x260]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x26c], xmm0
addss xmm1, dword [rdi + 0x278]
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x278], r12d
movss xmm0, dword [rdi + 0x27c]
comiss xmm0, xmm11
jbe 0x18013860a
addss xmm1, dword [rdi + 0x25c]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x270], xmm0
addss xmm1, dword [rdi + 0x27c]
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x27c], r12d
bt r14d, 0x18
jae 0x18013869d
mov eax, dword [r15 + 0x180]
cmp dword [rdi + 0x180], eax
je 0x18013869d
lea rbx, [rdi + 0x190]
mov dword [rdi + 0x180], eax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18013868b
inc r8d
test ecx, ecx
je 0x180138674
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180138679
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180142180
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 0x180]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
movzx eax, byte [rdi + 0x94]
test al, al
jle 0x1801386b0
dec al
mov byte [rdi + 0x94], al
movzx eax, byte [rdi + 0x95]
test al, al
jle 0x1801386c3
dec al
mov byte [rdi + 0x95], al
test r13b, r13b
je 0x1801386da
mov rcx, rdi
call fcn.180138b40
xor edx, edx
mov rcx, rdi
call fcn.18013ccd0
test r14b, 1
jne 0x1801386f5
mov r9, qword [rbp - 0x60]
lea rdx, [rsp + 0x70]
mov r8, qword [rbp - 0x58]
mov rcx, rdi
call fcn.180135f70
mov eax, dword [rdi + 0x4c]
movss xmm1, dword [rsp + 0x70]
movss xmm5, dword [rsp + 0x78]
movss xmm3, dword [rsp + 0x7c]
movss xmm4, dword [rsp + 0x74]
mov dword [rdi + 0x110], eax
mov rax, qword [0x180574950]
movss xmm2, dword [rax + 0x15b0]
movss xmm0, dword [rax + 0x15b4]
subss xmm1, xmm2
addss xmm5, xmm2
movss xmm2, dword [rax + 0x130]
addss xmm3, xmm0
subss xmm4, xmm0
comiss xmm2, xmm1
jb 0x18013876a
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm4
jb 0x18013876a
comiss xmm5, xmm2
jbe 0x18013876a
comiss xmm3, xmm0
jbe 0x18013876a
mov ebx, 1
mov eax, ebx
jmp 0x180138772
mov eax, r12d
mov ebx, 1
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdi + 0x114], eax
lea rdx, [rdi + 0x218]
lea rcx, [rdi + 0x210]
mov r8b, 1
movups xmmword [rdi + 0x118], xmm0
call fcn.180132340
mov byte [rdi + 0x80], 0
jmp 0x180138804
mov rax, qword [0x180574950]
movss xmm0, dword [rax + 0x1914]
mov qword [rax + 0x1a18], rdi
mov rcx, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rcx, rcx
je 0x1801387d5
mulss xmm0, dword [rcx + 0x2a0]
lea rdx, [rdi + 0x218]
movss dword [rax + 0x1928], xmm0
lea rcx, [rdi + 0x210]
movss dword [rax + 0x1910], xmm0
movzx r8d, bl
call fcn.180132340
mov r15, qword [rsp + 0x60]
xor r12d, r12d
inc word [rdi + 0x88]
mov r13, qword [rsp + 0x190]
mov dword [rsi + 0x1ab8], r12d
mov r12, qword [rsp + 0x198]
bt r14d, 0x18
jae 0x1801388c5
test r14b, 1
jne 0x18013884c
mov r8d, 0x1730
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.cpp
lea rcx, str._flags__ImGuiWindowFlags_NoTitleBar____0
call fcn.180422088
test r14b, 0x40
jne 0x18013888c
cmp byte [rdi + 0x94], 0
jg 0x18013888c
cmp byte [rdi + 0x95], 0
jg 0x18013888c
movss xmm0, dword [rdi + 0x1f0]
comiss xmm0, dword [rdi + 0x1f8]
jae 0x180138886
movss xmm0, dword [rdi + 0x1f4]
comiss xmm0, dword [rdi + 0x1fc]
jb 0x18013888c
mov dword [rdi + 0x9c], ebx
test r15, r15
je 0x1801388c5
cmp byte [r15 + 0x81], 0
jne 0x1801388a5
cmp dword [r15 + 0x9c], 0
jle 0x1801388ab
mov dword [rdi + 0x9c], ebx
cmp byte [r15 + 0x81], 0
jne 0x1801388bf
cmp dword [r15 + 0xa0], 0
jle 0x1801388c5
mov dword [rdi + 0xa0], ebx
comiss xmm11, dword [rsi + 0x1558]
mov rsi, qword [rsp + 0x1d8]
mov r15, qword [rsp + 0x180]
mov r14, qword [rsp + 0x188]
movaps xmm11, xmmword [rsp + 0x120]
jb 0x1801388f6
mov dword [rdi + 0x9c], ebx
cmp dword [rdi + 0x9c], 0
jg 0x18013890c
cmp dword [rdi + 0xa0], 0
jg 0x18013890c
xor cl, cl
jmp 0x18013890e
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x180138927
cmp byte [rdi + 0x7e], al
je 0x180138927
test cl, cl
je 0x180138944
cmp byte [rdi + 0x94], al
jg 0x180138944
cmp byte [rdi + 0x95], al
jg 0x180138944
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, ebx
mov byte [rdi + 0x83], al
xor al, 1
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.18040c600
add rsp, 0x1a0
pop rdi
pop rbx
pop rbp
ret