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

Disassembly:
lea r12, [rsp - 0x70]
cmp r12, qword [r14 + 0x10]
jbe 0x4c5a74
push rbp
mov rbp, rsp
sub rsp, 0xe8
movq qword [rsp + 0xe0], xmm15
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rcx
mov byte [rsp + 0x3b], 0
mov qword [rsp + 0x78], 0
movups xmmword [rsp + 0x68], xmm15
shl rax, 1
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss dword [rsp + 0x3c], xmm0
lea rax, [0x004f1040]
call sym.runtime.newobject
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0xf8]
mov qword [rax + 0x10], rcx
lea rax, [0x004e54a0]
call sym.runtime.newobject
movss xmm0, dword [rsp + 0x3c]
movss dword [rax], xmm0
movss dword [rax + 4], xmm0
movsd xmm0, qword [0x00527338]
movsd qword [rax + 8], xmm0
cmp dword [0x00652be0], 0
jne 0x4c5440
mov rdx, qword [rsp + 0x80]
jmp 0x4c545b
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rdx, qword [rsp + 0x80]
mov rsi, qword [rdx + 0x98]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x98], rax
mov rax, qword [0x005bcda8]
mov rbx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call sym.embed.FS.Open
nop
test rcx, rcx
jne 0x4c54fc
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x88], rbx
test byte [rax], al
movups xmmword [rsp + 0x90], xmm15
mov qword [rsp + 0xa0], 0
lea rdx, [sym.main.NewWorld.deferwrap1]
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rbx
lea rdx, [rsp + 0x90]
mov qword [rsp + 0xe0], rdx
mov byte [rsp + 0x3b], 1
nop dword [rax]
test rax, rax
je 0x4c5523
mov rdx, qword [rax + 8]
mov r10, qword [0x005bd410]
mov r11, qword [r10]
mov r12d, dword [rax + 0x10]
jmp 0x4c5a0d
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0x78]
mov rbx, rcx
mov rcx, rdi
add rsp, 0xe8
pop rbp
ret
movups xmmword [rsp + 0xb8], xmm15
movups xmmword [rsp + 0xc8], xmm15
lea rdx, [0x004d0100]
mov qword [rsp + 0xb8], rdx
mov r10, qword [rsp + 0x80]
mov qword [rsp + 0xc0], r10
mov qword [rsp + 0xc8], rdx
lea rdx, [r10 + 8]
mov qword [rsp + 0xd0], rdx
lea rcx, [0x004f86a2]
mov edi, 6
lea rsi, [rsp + 0xb8]
mov r8d, 2
mov r9, r8
call sym.fmt.Fscanf
test rbx, rbx
jne 0x4c55df
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rdx + 8]
lea rax, [0x004d5300]
mov rbx, rcx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x80]
mov rsi, qword [rdx + 8]
mov qword [rdx + 0x50], rsi
mov qword [rdx + 0x58], rsi
cmp dword [0x00652be0], 0
je 0x4c55d7
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx + 0x48]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x48], rax
xor eax, eax
jmp 0x4c562c
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rdx]
call rax
mov rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
add rsp, 0xe8
pop rbp
ret
mov rax, qword [rsp + 0x48]
inc rax
mov rdx, qword [rsp + 0x80]
cmp qword [rdx + 8], rax
jle 0x4c5705
mov qword [rsp + 0x48], rax
mov rcx, qword [rdx]
lea rax, [0x004d6980]
mov rbx, rcx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rdx + 0x50]
mov rsi, qword [rsp + 0x48]
nop
cmp rsi, rcx
jae 0x4c5a05
mov r10, qword [rdx + 0x48]
lea r11, [rsi + rsi*2]
mov r12, qword [rdx]
mov qword [r10 + r11*8 + 8], r12
mov qword [r10 + r11*8 + 0x10], r12
cmp dword [0x00652be0], 0
je 0x4c569d
mov rcx, r11
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov r12, qword [r10 + rcx*8]
mov qword [r11 + 8], r12
mov r11, rcx
mov qword [rsp + 0x60], r11
mov qword [r10 + r11*8], rax
xor eax, eax
jmp 0x4c57e5
mov r10, qword [rsp + 0x58]
test r10, r10
je 0x4c56ce
mov rbx, qword [r10 + 8]
mov r11, qword [0x005bd450]
mov r12, qword [r11]
mov r13d, dword [r10 + 0x10]
jmp 0x4c592c
mov rax, r10
mov rbx, qword [rsp + 0x88]
lea rcx, [0x005262a0]
mov edi, 1
xor esi, esi
xor r8d, r8d
mov r9, r8
call sym.fmt.Fscanf
test rbx, rbx
je 0x4c561c
nop dword [rax + rax]
jmp 0x4c58ef
mov rax, rdx
call sym.main._World_.Build
mov rax, qword [rsp + 0x80]
call sym.main._World_.GetSpawnPoint
movss dword [rsp + 0x44], xmm0
movss dword [rsp + 0x40], xmm1
lea rax, [0x004ef4e0]
call sym.runtime.newobject
movss xmm0, dword [rsp + 0x44]
movss dword [rax], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rax + 4], xmm0
mov rcx, qword [rsp + 0xf8]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
movss xmm1, dword [0x005272e8]
mulss xmm1, xmm0
movss dword [rax + 0x20], xmm1
movss dword [rax + 0x18], xmm0
addss xmm0, xmm0
movss dword [rax + 0x1c], xmm0
cmp dword [0x00652be0], 0
jne 0x4c5789
mov rcx, qword [rsp + 0x80]
jmp 0x4c57a1
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rcx, qword [rsp + 0x80]
mov rbx, qword [rcx + 0x38]
mov qword [r11 + 8], rbx
mov qword [rcx + 0x38], rax
mov qword [rsp + 0x78], rcx
movups xmmword [rsp + 0x68], xmm15
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rdx]
call rax
mov rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
add rsp, 0xe8
pop rbp
ret
lea r10, [r12 + 1]
mov rsi, rax
mov rax, r10
cmp qword [rdx], rax
jle 0x4c56ad
mov qword [rsp + 0x50], rax
lea rax, [0x004d6980]
call sym.runtime.newobject
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x4c5828
mov rbx, qword [rcx + 8]
mov rdx, qword [0x005bd430]
mov r10, qword [rdx]
mov r11d, dword [rcx + 0x10]
jmp 0x4c59bc
movups xmmword [rsp + 0xa8], xmm15
lea rdx, [0x004cff40]
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], rax
mov rbx, qword [rsp + 0x88]
mov edi, 2
lea rsi, [rsp + 0xa8]
mov r8d, 1
mov r9, r8
mov rax, rcx
lea rcx, [0x004f82a8]
call sym.fmt.Fscanf
test rbx, rbx
jne 0x4c5972
mov rdx, qword [rsp + 0xd8]
cmp byte [rdx], 0x23
jne 0x4c58d3
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rdx + 0x50]
mov rax, qword [rsp + 0x48]
nop dword [rax]
cmp rax, rcx
jae 0x4c59b7
mov r10, qword [rdx + 0x48]
mov r11, qword [rsp + 0x60]
mov rcx, qword [r10 + r11*8 + 8]
mov r10, qword [r10 + r11*8]
mov r12, qword [rsp + 0x50]
cmp r12, rcx
jae 0x4c59af
mov byte [r10 + r12], 1
jmp 0x4c57da
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov r11, qword [rsp + 0x60]
mov r12, qword [rsp + 0x50]
jmp 0x4c57da
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rdx]
call rax
mov rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
add rsp, 0xe8
pop rbp
ret
mov r15, r13
and r13, r12
shl r13, 4
mov rax, qword [r11 + r13 + 8]
nop dword [rax + rax]
cmp rax, rbx
je 0x4c5965
lea r13, [r15 + 1]
test rax, rax
jne 0x4c592c
lea rax, [0x005bd450]
call sym.runtime.typeAssert
mov r10, rax
nop dword [rax]
jmp 0x4c56ce
mov r11, qword [r11 + r13 + 0x10]
mov r10, r11
jmp 0x4c56ce
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rdx]
call rax
mov rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
add rsp, 0xe8
pop rbp
ret
mov rax, r12
call sym.runtime.panicIndex
call sym.runtime.panicIndex
mov r12, r11
and r11, r10
shl r11, 4
mov r13, qword [rdx + r11 + 8]
cmp r13, rbx
je 0x4c59f6
lea r11, [r12 + 1]
test r13, r13
jne 0x4c59bc
lea rax, [0x005bd430]
call sym.runtime.typeAssert
mov rcx, rax
mov rax, qword [rsp + 0xd8]
jmp 0x4c5828
mov rdx, qword [rdx + r11 + 0x10]
mov rcx, rdx
nop
jmp 0x4c5828
mov rax, rsi
call sym.runtime.panicIndex
mov r13, r12
and r12, r11
shl r12, 4
mov r15, qword [r12 + r10 + 8]
nop dword [rax]
cmp r15, rdx
je 0x4c5a4a
lea r12, [r13 + 1]
test r15, r15
jne 0x4c5a0d
lea rax, [0x005bd410]
mov rbx, rdx
call sym.runtime.typeAssert
mov rbx, qword [rsp + 0x88]
jmp 0x4c5523
mov rdx, qword [r10 + r12 + 0x10]
mov rax, rdx
jmp 0x4c5523
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.main.NewWorld