// File: ticky[P]ps2iconsys/src/ps2_iconsys.cpp
// Function: IconSys::SetToDefault()
void IconSys::SetToDefault() {
	File.ps2d_string[0] = 'P';  File.ps2d_string[1] = 'S';  
	File.ps2d_string[2] = '2';  File.ps2d_string[3] = 'D';
	File.reserve1 = 0;
	File.offset_2nd_line = 32;
	File.reserve2 = 0;
	File.bg_opacity = 0;
	File.bg_color_upperleft[0]  = 0x80;  File.bg_color_upperleft[1]  = 0x80;
	File.bg_color_upperleft[2]  = 0x80;  File.bg_color_upperleft[3]  = 0x00;
	File.bg_color_upperright[0] = 0x80;  File.bg_color_upperright[1] = 0x80;
	File.bg_color_upperright[2] = 0x80;  File.bg_color_upperright[3] = 0x00;
	File.bg_color_lowerleft[0]  = 0x80;  File.bg_color_lowerleft[1]  = 0x80;
	File.bg_color_lowerleft[2]  = 0x80;  File.bg_color_lowerleft[3]  = 0x00;
	File.bg_color_lowerright[0] = 0x80;  File.bg_color_lowerright[1] = 0x80;
	File.bg_color_lowerright[2] = 0x80;  File.bg_color_lowerright[3] = 0x00;
	File.light1_direction[0] =  0.5f;  File.light1_direction[1] =  0.5f;
	File.light1_direction[2] =  0.5f;  File.light1_direction[3] =  0.0f;
	File.light2_direction[0] =  0.0f;  File.light2_direction[1] = -0.4f;
	File.light2_direction[2] = -0.1f;  File.light2_direction[3] =  0.0f;
	File.light3_direction[0] = -0.5f;  File.light3_direction[1] = -0.5f;
	File.light3_direction[2] =  0.5f;  File.light3_direction[3] =  0.0f;
	File.light1_color[0] = 1.0f;  File.light1_color[1] = 1.0f;
	File.light1_color[2] = 1.0f;  File.light1_color[3] = 0.0f;
	File.light2_color[0] = 1.0f;  File.light2_color[1] = 1.0f;
	File.light2_color[2] = 1.0f;  File.light2_color[3] = 0.0f;
	File.light3_color[0] = 1.0f;  File.light3_color[1] = 1.0f;
	File.light3_color[2] = 1.0f;  File.light3_color[3] = 0.0f;
	File.light_ambient_color[0] = 1.0f;  File.light_ambient_color[1] = 1.0f;
	File.light_ambient_color[2] = 1.0f;  File.light_ambient_color[3] = 0.0f;
	SetTitle("DEFAULT");
	SetIconFilename("ICON.ICN");
	SetIconCopyFilename("ICON.ICN");
	SetIconDeleteFilename("ICON.ICN");
	memset(File.reserve3, 0, 512); 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
movb $0x50, (%rdi)
movb $0x53, 0x1(%rdi)
movb $0x32, 0x2(%rdi)
movb $0x44, 0x3(%rdi)
movw $0x0, 0x4(%rdi)
movw $0x20, 0x6(%rdi)
movl $0x0, 0x8(%rdi)
movl $0x0, 0xc(%rdi)
movl $0x80, 0x10(%rdi)
movl $0x80, 0x14(%rdi)
movl $0x80, 0x18(%rdi)
movl $0x0, 0x1c(%rdi)
movl $0x80, 0x20(%rdi)
movl $0x80, 0x24(%rdi)
movl $0x80, 0x28(%rdi)
movl $0x0, 0x2c(%rdi)
movl $0x80, 0x30(%rdi)
movl $0x80, 0x34(%rdi)
movl $0x80, 0x38(%rdi)
movl $0x0, 0x3c(%rdi)
movl $0x80, 0x40(%rdi)
movl $0x80, 0x44(%rdi)
movl $0x80, 0x48(%rdi)
movl $0x0, 0x4c(%rdi)
movss 0x908b(%rip), %xmm0     # 0x11170
movss %xmm0, 0x50(%rdi)
movss 0x907e(%rip), %xmm0     # 0x11170
movss %xmm0, 0x54(%rdi)
movss 0x9071(%rip), %xmm0     # 0x11170
movss %xmm0, 0x58(%rdi)
xorps %xmm0, %xmm0
movss %xmm0, 0x5c(%rdi)
xorps %xmm0, %xmm0
movss %xmm0, 0x60(%rdi)
movss 0x9060(%rip), %xmm0     # 0x1117c
movss %xmm0, 0x64(%rdi)
movss 0x904f(%rip), %xmm0     # 0x11178
movss %xmm0, 0x68(%rdi)
xorps %xmm0, %xmm0
movss %xmm0, 0x6c(%rdi)
movss 0x9036(%rip), %xmm0     # 0x11174
movss %xmm0, 0x70(%rdi)
movss 0x9029(%rip), %xmm0     # 0x11174
movss %xmm0, 0x74(%rdi)
movss 0x9018(%rip), %xmm0     # 0x11170
movss %xmm0, 0x78(%rdi)
xorps %xmm0, %xmm0
movss %xmm0, 0x7c(%rdi)
movss 0x8fff(%rip), %xmm0     # 0x1116c
movss %xmm0, 0x80(%rdi)
movss 0x8fef(%rip), %xmm0     # 0x1116c
movss %xmm0, 0x84(%rdi)
movss 0x8fdf(%rip), %xmm0     # 0x1116c
movss %xmm0, 0x88(%rdi)
xorps %xmm0, %xmm0
movss %xmm0, 0x8c(%rdi)
movss 0x8fc4(%rip), %xmm0     # 0x1116c
movss %xmm0, 0x90(%rdi)
movss 0x8fb4(%rip), %xmm0     # 0x1116c
movss %xmm0, 0x94(%rdi)
movss 0x8fa4(%rip), %xmm0     # 0x1116c
movss %xmm0, 0x98(%rdi)
xorps %xmm0, %xmm0
movss %xmm0, 0x9c(%rdi)
movss 0x8f89(%rip), %xmm0     # 0x1116c
movss %xmm0, 0xa0(%rdi)
movss 0x8f79(%rip), %xmm0     # 0x1116c
movss %xmm0, 0xa4(%rdi)
movss 0x8f69(%rip), %xmm0     # 0x1116c
movss %xmm0, 0xa8(%rdi)
xorps %xmm0, %xmm0
movss %xmm0, 0xac(%rdi)
movss 0x8f4e(%rip), %xmm0     # 0x1116c
movss %xmm0, 0xb0(%rdi)
movss 0x8f3e(%rip), %xmm0     # 0x1116c
movss %xmm0, 0xb4(%rdi)
movss 0x8f2e(%rip), %xmm0     # 0x1116c
movss %xmm0, 0xb8(%rdi)
xorps %xmm0, %xmm0
movss %xmm0, 0xbc(%rdi)
leaq 0x8f5e(%rip), %rsi      # 0x111b6
callq 0x8500
movq -0x10(%rbp), %rdi
leaq 0x8f56(%rip), %rsi      # 0x111be
callq 0x85c0
movq -0x10(%rbp), %rdi
leaq 0x8f46(%rip), %rsi      # 0x111be
callq 0x8690
movq -0x10(%rbp), %rdi
leaq 0x8f36(%rip), %rsi      # 0x111be
callq 0x8760
movq -0x10(%rbp), %rdi
addq $0x1c4, %rdi            # imm = 0x1C4
xorl %esi, %esi
movl $0x200, %edx            # imm = 0x200
callq 0x2110
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)