// File: ticky[P]ps2iconsys/src/iconsys_builder.cpp
// Function: Cleanup()
void Cleanup()
{
	if(title_string)       { delete[] title_string;              title_string = NULL; }
	if(icon_string)        { delete[] icon_string;                icon_string = NULL; }
	if(icon_copy_string)   { delete[] icon_copy_string;      icon_copy_string = NULL; }
	if(icon_delete_string) { delete[] icon_delete_string;  icon_delete_string = NULL; }
	if(light1_dir)         { delete[] light1_dir;                  light1_dir = NULL; }
	if(light2_dir)         { delete[] light2_dir;                  light2_dir = NULL; }
	if(light3_dir)         { delete[] light3_dir;                  light3_dir = NULL; }
	if(light1_color)       { delete[] light1_color;              light1_color = NULL; }
	if(light2_color)       { delete[] light2_color;              light2_color = NULL; }
	if(light3_color)       { delete[] light3_color;              light3_color = NULL; }
	if(ambient_color)      { delete[] ambient_color;            ambient_color = NULL; }
	if(bg_color_ul)        { delete[] bg_color_ul;                bg_color_ul = NULL; }
	if(bg_color_ur)        { delete[] bg_color_ur;                bg_color_ur = NULL; }
	if(bg_color_ll)        { delete[] bg_color_ll;                bg_color_ll = NULL; }
	if(bg_color_lr)        { delete[] bg_color_lr;                bg_color_lr = NULL; }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
cmpq $0x0, 0x8d55(%rip)      # 0x1b2a8
je 0x1257a
movq 0x8d4c(%rip), %rax      # 0x1b2a8
movq %rax, -0x8(%rbp)
cmpq $0x0, %rax
je 0x1256f
movq -0x8(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8d2e(%rip) # 0x1b2a8
cmpq $0x0, 0x8d2e(%rip)      # 0x1b2b0
je 0x125a9
movq 0x8d25(%rip), %rax      # 0x1b2b0
movq %rax, -0x10(%rbp)
cmpq $0x0, %rax
je 0x1259e
movq -0x10(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8d07(%rip) # 0x1b2b0
cmpq $0x0, 0x8d07(%rip)      # 0x1b2b8
je 0x125d8
movq 0x8cfe(%rip), %rax      # 0x1b2b8
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
je 0x125cd
movq -0x18(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8ce0(%rip) # 0x1b2b8
cmpq $0x0, 0x8ce0(%rip)      # 0x1b2c0
je 0x12607
movq 0x8cd7(%rip), %rax      # 0x1b2c0
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0x125fc
movq -0x20(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8cb9(%rip) # 0x1b2c0
cmpq $0x0, 0x8cc1(%rip)      # 0x1b2d0
je 0x12636
movq 0x8cb8(%rip), %rax      # 0x1b2d0
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
je 0x1262b
movq -0x28(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8c9a(%rip) # 0x1b2d0
cmpq $0x0, 0x8c9a(%rip)      # 0x1b2d8
je 0x12665
movq 0x8c91(%rip), %rax      # 0x1b2d8
movq %rax, -0x30(%rbp)
cmpq $0x0, %rax
je 0x1265a
movq -0x30(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8c73(%rip) # 0x1b2d8
cmpq $0x0, 0x8c73(%rip)      # 0x1b2e0
je 0x12694
movq 0x8c6a(%rip), %rax      # 0x1b2e0
movq %rax, -0x38(%rbp)
cmpq $0x0, %rax
je 0x12689
movq -0x38(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8c4c(%rip) # 0x1b2e0
cmpq $0x0, 0x8c4c(%rip)      # 0x1b2e8
je 0x126c3
movq 0x8c43(%rip), %rax      # 0x1b2e8
movq %rax, -0x40(%rbp)
cmpq $0x0, %rax
je 0x126b8
movq -0x40(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8c25(%rip) # 0x1b2e8
cmpq $0x0, 0x8c25(%rip)      # 0x1b2f0
je 0x126f2
movq 0x8c1c(%rip), %rax      # 0x1b2f0
movq %rax, -0x48(%rbp)
cmpq $0x0, %rax
je 0x126e7
movq -0x48(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8bfe(%rip) # 0x1b2f0
cmpq $0x0, 0x8bfe(%rip)      # 0x1b2f8
je 0x12721
movq 0x8bf5(%rip), %rax      # 0x1b2f8
movq %rax, -0x50(%rbp)
cmpq $0x0, %rax
je 0x12716
movq -0x50(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8bd7(%rip) # 0x1b2f8
cmpq $0x0, 0x8bd7(%rip)      # 0x1b300
je 0x12750
movq 0x8bce(%rip), %rax      # 0x1b300
movq %rax, -0x58(%rbp)
cmpq $0x0, %rax
je 0x12745
movq -0x58(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8bb0(%rip) # 0x1b300
cmpq $0x0, 0x8bb0(%rip)      # 0x1b308
je 0x1277f
movq 0x8ba7(%rip), %rax      # 0x1b308
movq %rax, -0x60(%rbp)
cmpq $0x0, %rax
je 0x12774
movq -0x60(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8b89(%rip) # 0x1b308
cmpq $0x0, 0x8b89(%rip)      # 0x1b310
je 0x127ae
movq 0x8b80(%rip), %rax      # 0x1b310
movq %rax, -0x68(%rbp)
cmpq $0x0, %rax
je 0x127a3
movq -0x68(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8b62(%rip) # 0x1b310
cmpq $0x0, 0x8b62(%rip)      # 0x1b318
je 0x127dd
movq 0x8b59(%rip), %rax      # 0x1b318
movq %rax, -0x70(%rbp)
cmpq $0x0, %rax
je 0x127d2
movq -0x70(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8b3b(%rip) # 0x1b318
cmpq $0x0, 0x8b3b(%rip)      # 0x1b320
je 0x1280c
movq 0x8b32(%rip), %rax      # 0x1b320
movq %rax, -0x78(%rbp)
cmpq $0x0, %rax
je 0x12801
movq -0x78(%rbp), %rdi
callq 0x2280
movq $0x0, 0x8b14(%rip) # 0x1b320
addq $0x80, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)