Function at 0x18017f500
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x328
vmovaps xmmword [rax - 0x58], xmm6
vmovaps xmmword [rax - 0x68], xmm7
xor r13d, r13d
mov edi, r13d
mov dword [rbp + 0x270], r13d
xor eax, eax
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x78]
call fcn.1800a0100
lea rcx, [rbp - 0x58]
call fcn.1800a0100
mov byte [rbp - 0x38], dil
lea rdx, str.None
lea rcx, [rbp - 0x78]
call fcn.18009fe90
lea rdx, str._UnlitGeneric_
lea rcx, [rbp - 0x58]
call fcn.18009fe90
lea rdx, [0x180234ee4]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_color2___0_0_0__
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_additive__1_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, [0x180234eb8]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
mov byte [rbp - 0x38], 1
mov edx, 0x811c9dc5
lea rcx, str.None
call fcn.1800f5960
mov dword [rbp + 0x270], eax
lea rdx, [rbp + 0x270]
call fcn.180181d10
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180180340
nop
lea rcx, [rbp - 0x80]
call fcn.1800c3c50
xor eax, eax
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x78]
call fcn.1800a0100
lea rcx, [rbp - 0x58]
call fcn.1800a0100
mov byte [rbp - 0x38], r13b
lea rdx, str.Flat
lea rcx, [rbp - 0x78]
call fcn.18009fe90
lea rdx, str._UnlitGeneric_
lea rcx, [rbp - 0x58]
call fcn.18009fe90
lea rdx, [0x180234ee4]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_basetexture__white_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, [0x180234eb8]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
mov byte [rbp - 0x38], 1
mov edx, 0x811c9dc5
lea rcx, str.Flat
call fcn.1800f5960
mov dword [rbp + 0x270], eax
lea rdx, [rbp + 0x270]
call fcn.180181d10
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180180340
nop
lea rcx, [rbp - 0x80]
call fcn.1800c3c50
xor eax, eax
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x78]
call fcn.1800a0100
lea rcx, [rbp - 0x58]
call fcn.1800a0100
mov byte [rbp - 0x38], r13b
lea rdx, str.Shaded
lea rcx, [rbp - 0x78]
call fcn.18009fe90
lea rdx, str._VertexLitGeneric_
lea rcx, [rbp - 0x58]
call fcn.18009fe90
lea rdx, [0x180234ee4]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_basetexture__white_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, [0x180234eb8]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
mov byte [rbp - 0x38], 1
mov edx, 0x811c9dc5
lea rcx, str.Shaded
call fcn.1800f5960
mov dword [rbp + 0x270], eax
lea rdx, [rbp + 0x270]
call fcn.180181d10
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180180340
nop
lea rcx, [rbp - 0x80]
call fcn.1800c3c50
xor eax, eax
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x78]
call fcn.1800a0100
lea rcx, [rbp - 0x58]
call fcn.1800a0100
mov byte [rbp - 0x38], r13b
lea rdx, str.Wireframe
lea rcx, [rbp - 0x78]
call fcn.18009fe90
lea rdx, str._UnlitGeneric_
lea rcx, [rbp - 0x58]
call fcn.18009fe90
lea rdx, [0x180234ee4]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_basetexture__white_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_wireframe__1_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, [0x180234eb8]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
mov byte [rbp - 0x38], 1
mov edx, 0x811c9dc5
lea rcx, str.Wireframe
call fcn.1800f5960
mov dword [rbp + 0x270], eax
lea rdx, [rbp + 0x270]
call fcn.180181d10
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180180340
nop
lea rcx, [rbp - 0x80]
call fcn.1800c3c50
xor eax, eax
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x78]
call fcn.1800a0100
lea rcx, [rbp - 0x58]
call fcn.1800a0100
mov byte [rbp - 0x38], r13b
lea rdx, str.Fresnel
lea rcx, [rbp - 0x78]
call fcn.18009fe90
lea rdx, str._VertexLitGeneric_
lea rcx, [rbp - 0x58]
call fcn.18009fe90
lea rdx, [0x180234ee4]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_basetexture__white_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_bumpmap__models_player_shared_shared_normal_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_color2___0_0_0__
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_additive__1_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_phong__1_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_phongfresnelranges___0_0.5_1__
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_envmap__skybox_sky_dustbowl_01_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_envmapfresnel__1_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, [0x180234eb8]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
mov byte [rbp - 0x38], 1
mov edx, 0x811c9dc5
lea rcx, str.Fresnel
call fcn.1800f5960
mov dword [rbp + 0x270], eax
lea rdx, [rbp + 0x270]
call fcn.180181d10
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180180340
nop
lea rcx, [rbp - 0x80]
call fcn.1800c3c50
xor eax, eax
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x78]
call fcn.1800a0100
lea rcx, [rbp - 0x58]
call fcn.1800a0100
mov byte [rbp - 0x38], r13b
lea rdx, str.Shine
lea rcx, [rbp - 0x78]
call fcn.18009fe90
lea rdx, str._VertexLitGeneric_
lea rcx, [rbp - 0x58]
call fcn.18009fe90
lea rdx, [0x180234ee4]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_additive__1_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_envmap__cubemaps_cubemap_sheen002.hdr_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_envmaptint___1_1_1__
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, [0x180234eb8]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
mov byte [rbp - 0x38], 1
mov edx, 0x811c9dc5
lea rcx, str.Shine
call fcn.1800f5960
mov dword [rbp + 0x270], eax
lea rdx, [rbp + 0x270]
call fcn.180181d10
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180180340
nop
lea rcx, [rbp - 0x80]
call fcn.1800c3c50
xor eax, eax
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x78]
call fcn.1800a0100
lea rcx, [rbp - 0x58]
call fcn.1800a0100
mov byte [rbp - 0x38], r13b
lea rdx, str.Tint
lea rcx, [rbp - 0x78]
call fcn.18009fe90
lea rdx, str._VertexLitGeneric_
lea rcx, [rbp - 0x58]
call fcn.18009fe90
lea rdx, [0x180234ee4]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_basetexture__models_player_shared_ice_player_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_bumpmap__models_player_shared_shared_normal_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_additive__1_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_phong__1_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_phongfresnelranges___0_0.001_0.001__
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_envmap__skybox_sky_dustbowl_01_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_envmapfresnel__1_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_selfillum__1_
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, str._n_t_selfillumtint___0_0_0__
lea rcx, [rbp - 0x58]
call fcn.1801394f0
lea rdx, [0x180234eb8]
lea rcx, [rbp - 0x58]
call fcn.1801394f0
mov byte [rbp - 0x38], 1
mov edx, 0x811c9dc5
lea rcx, str.Tint
call fcn.1800f5960
mov dword [rbp + 0x270], eax
lea rdx, [rbp + 0x270]
call fcn.180181d10
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180180340
nop
lea rcx, [rbp - 0x80]
call fcn.1800c3c50
lea r8, str.Materials
lea rdx, [0x180276960]
lea rcx, [rsp + 0x50]
call fcn.180102720
nop
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.180103960
nop
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x10]
call fcn.180123230
nop
lea rcx, [rbp + 0xb0]
call fcn.180102460
nop
lea rcx, [rsp + 0x50]
call fcn.1800a0370
lea rdx, [rbp + 0x10]
lea rcx, [rbp]
call fcn.180136700
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.180123420
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp]
call fcn.180136700
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1801234a0
nop
mov rbx, qword [rbp + 0x40]
mov r14, qword [rsp + 0x70]
cmp rbx, r14
je 0x18017fe0d
nop
mov rcx, rbx
call fcn.180122cd0
test al, al
je 0x18017fc07
lea rdx, [0x180234fb4]
lea rcx, [rbp + 0xd0]
call fcn.18009ffa0
nop
or edi, 1
mov dword [rbp + 0x270], edi
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.180103960
nop
or edi, 2
mov dword [rbp + 0x270], edi
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x80]
call fcn.180122ab0
or edi, 4
lea rdx, [rbp + 0x50]
mov rcx, rax
call fcn.180122bb0
test al, al
je 0x18017fc07
xor sil, sil
jmp 0x18017fc0a
mov sil, 1
test dil, 4
je 0x18017fc20
and edi, 0xfffffffb
lea rcx, [rbp + 0x80]
call fcn.180102460
nop
test dil, 2
je 0x18017fc33
and edi, 0xfffffffd
lea rcx, [rbp + 0x50]
call fcn.180102460
nop
test dil, 1
je 0x18017fc48
and edi, 0xfffffffe
lea rcx, [rbp + 0xd0]
call fcn.1800a0370
test sil, sil
jne 0x18017fdf7
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0xf0]
call fcn.180182030
nop
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xf0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x18017fdeb
lea rdx, [rbp + 0xd0]
lea rcx, [rbx + 0x20]
call fcn.180122a00
nop
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1800f5b20
nop
lea rcx, [rbp + 0xd0]
call fcn.180102460
lea rdx, [rbp + 0x280]
lea rcx, [rsp + 0x50]
call fcn.18009fe40
mov r9, qword [rax]
lea rdx, [rbp + 0x288]
lea rcx, [rsp + 0x50]
call fcn.18009fe40
mov r8, qword [rax]
sub r8, 4
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.1800ef8b0
mov qword [rbp + 0x70], r13
mov word [rbp + 0x78], 1
vmovups xmm0, xmmword [rbp + 0x70]
vmovdqa xmmword [rbp + 0x80], xmm0
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x20]
call fcn.180107f80
vmovups xmm0, xmmword [rax]
vmovups xmmword [rbp + 0x50], xmm0
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xb0]
call fcn.180182080
nop
lea rcx, [rsp + 0x50]
call fcn.180075e50
mov rcx, rax
call fcn.1800f5980
mov ebx, eax
mov edx, 0x811c9dc5
lea rcx, str.Original
call fcn.1800f5960
cmp ebx, eax
je 0x18017fdd3
xor eax, eax
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x78]
call fcn.1800a0100
lea rcx, [rbp - 0x58]
call fcn.1800a0100
mov byte [rbp - 0x38], sil
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.18009feb0
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x58]
call fcn.18009feb0
lea rcx, [rsp + 0x50]
call fcn.180075e50
mov rcx, rax
call fcn.1800f5980
mov dword [rbp + 0x278], eax
lea rdx, [rbp + 0x278]
call fcn.180181d10
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180180340
nop
lea rcx, [rbp - 0x80]
call fcn.1800c3c50
nop
lea rcx, [rbp + 0xb0]
call fcn.1800a0370
nop
lea rcx, [rsp + 0x50]
call fcn.1800a0370
nop
lea rcx, [rbp + 0xf0]
call fcn.1801041e0
lea rcx, [rbp + 0x40]
call fcn.180123340
mov rbx, qword [rbp + 0x40]
cmp rbx, r14
jne 0x18017fba0
lea rcx, [rsp + 0x70]
call fcn.180123450
nop
lea rcx, [rbp + 0x40]
call fcn.180123450
nop
lea rcx, [rbp + 0x10]
call fcn.180123450
mov r12, qword [0x1802626a8]
mov rbx, qword [r12]
lea r15, [0x18023b6f8]
lea r14, str.LoadMaterials
movabs rsi, 0xb000000000000000
movabs rcx, 0xb000000000000008
cmp rbx, r12
je 0x180180127
lea rax, str.m_pMat_s
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 8
mov qword [rbp + 0x10], 1
lea rax, [rbp + 0x20]
mov qword [rbp + 0x18], rax
lea rdx, [0x18023b6d0]
vmovups xmm6, xmmword [rsp + 0x70]
vmovups xmm7, xmmword [rbp + 0x10]
nop dword [rax + rax]
lea rax, [rbx + 0x20]
cmp qword [rax + 0x18], 0xf
jbe 0x18017feae
mov rax, qword [rax]
test rax, rax
je 0x18017ff30
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 8
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x70], 2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
vmovups xmm0, xmmword [rsp + 0x70]
vmovdqa xmmword [rbp + 0x50], xmm0
vmovups xmm1, xmmword [rbp + 0x10]
vmovdqa xmmword [rbp + 0x80], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x20]
call fcn.1800b7a90
bts edi, 8
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbp + 0x20]
jmp 0x18017ffa9
mov qword [rbp + 0xa0], rdx
mov qword [rbp + 0xa8], 3
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x40], 1
lea rax, [rbp + 0x70]
mov qword [rbp + 0x48], rax
vmovups xmm0, xmmword [rbp + 0x40]
vmovdqa xmmword [rbp + 0x50], xmm0
vmovups xmm1, xmmword [rbp + 0xa0]
vmovdqa xmmword [rbp + 0x80], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.1800b7a90
bts edi, 0xd
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x50]
call fcn.1800a0370
mov ecx, 0x40
call fcn.1801b3ce4
mov r8, rax
mov qword [rbp + 0x270], rax
lea rcx, [rbx + 0x20]
call fcn.180075e50
mov rdx, rax
mov rcx, r8
call fcn.1801a5350
mov r15, rax
lea r8, [rbx + 0x40]
cmp qword [r8 + 0x18], 0xf
jbe 0x18017ffe7
mov r8, qword [r8]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0xf
jbe 0x18017fff5
mov rdx, qword [rdx]
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rcx, r15
call qword [0x180264088]
mov rax, qword [0x180264038]
mov r8b, 1
lea rdx, str._model
mov rcx, r15
call rax
mov rsi, rax
test rax, rax
je 0x180180070
cmp byte [rax + 0x20], 1
jne 0x180180037
lea rax, [0x1801e3dc0]
cmp qword [rsi + 8], rax
je 0x180180069
mov rcx, qword [rsi + 8]
call fcn.1801b3bbc
mov rcx, qword [rsi + 0x10]
call fcn.1801b3bbc
mov qword [rsi + 0x10], r13
mov ecx, 2
call fcn.1801b4194
mov qword [rsi + 8], rax
movzx ecx, word [0x1801e3dc0]
mov word [rax], cx
mov byte [rsi + 0x20], 1
lea r14, str.LoadMaterials
lea rcx, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x18018007f
mov rcx, qword [rbx + 0x20]
mov rax, qword [rbx + 0x30]
mov qword [rbp], rcx
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x28], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp + 0x20], rax
vmovdqa xmmword [rbp + 0x50], xmm7
vmovdqa xmmword [rbp + 0x80], xmm6
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.1800b7a90
or edi, 8
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, r15
call fcn.18017f220
mov qword [rbx + 0x18], rax
lea rcx, [rsp + 0x50]
call fcn.1800a0370
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r12
movabs rsi, 0xb000000000000000
lea r15, [0x18023b6f8]
movabs rcx, 0xb000000000000008
lea rdx, [0x18023b6d0]
jne 0x18017fea0
lea r15, [0x18023b6f8]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 8
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rsi
lea rax, str.Glow.Initialize___
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], rcx
mov qword [rbp], 2
lea rax, [rsp + 0x50]
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovdqa xmmword [rbp + 0x50], xmm0
vmovups xmm1, xmmword [rsp + 0x70]
vmovdqa xmmword [rbp + 0x80], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x20]
call fcn.1800b7a90
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbp + 0x20]
call fcn.1800a0370
call fcn.18017be60
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 8
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rsi
lea rax, str.CameraWindow.Initialize___
mov qword [rsp + 0x68], rax
movabs rax, 0xb000000000000008
mov qword [rsp + 0x58], rax
mov qword [rbp], 2
lea rax, [rsp + 0x50]
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovdqa xmmword [rbp + 0x50], xmm0
vmovups xmm1, xmmword [rsp + 0x70]
vmovdqa xmmword [rbp + 0x80], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x20]
call fcn.1800b7a90
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbp + 0x20]
call fcn.1800a0370
cmp qword [0x180262978], 0
jne 0x1801802b4
mov ecx, 0x40
call fcn.1801b3ce4
mov rbx, rax
mov qword [rbp + 0x270], rax
lea r8, str.UnlitGeneric
mov edx, 0x80
lea rcx, [rbp - 0x80]
call fcn.1800e63d0
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [0x180264060]
nop
lea r8, str.m_pCameraTexture
lea rdx, str._basetexture
mov rcx, rbx
call fcn.1801a5390
mov rcx, qword [0x180267708]
mov rax, qword [rcx]
mov r8, rbx
lea rdx, str.m_pCameraMaterial
call qword [rax + 0x240]
mov qword [0x180262978], rax
cmp qword [0x180262980], 0
jne 0x180180313
mov rcx, qword [0x180267708]
mov rax, qword [rcx]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 0xc
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 4
mov r9d, 1
mov r8d, r9d
lea rdx, str.m_pCameraTexture
call qword [rax + 0x2b8]
mov qword [0x180262980], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov byte [0x180262720], 1
vmovaps xmm6, xmmword [rsp + 0x310]
vmovaps xmm7, xmmword [rsp + 0x300]
add rsp, 0x328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret