LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/graphics/imageloader/imageloader.cpp
// Function: smooth::GUI::ImageLoader::Load(smooth::Buffer<unsigned char> const&, short)
S::GUI::Bitmap S::GUI::ImageLoader::Load(const Buffer<UnsignedByte> &buffer, Short format)
{
	/* Auto-detect image format.
	 */
	if (format == IMAGE_FORMAT_AUTO) format = DetectImageFormat(buffer);

	/* Create image loader.
	 */
	ImageLoader	*loader = NIL;

	if	(format == IMAGE_FORMAT_PCI)  loader = new ImageLoaderPCI(buffer);
	else if (format == IMAGE_FORMAT_PNG)  loader = new ImageLoaderPNG(buffer);
	else if (format == IMAGE_FORMAT_JPEG) loader = new ImageLoaderJPEG(buffer);
	else if (format == IMAGE_FORMAT_WEBP) loader = new ImageLoaderWebP(buffer);

	if (loader == NIL) return NIL;

	Bitmap	 bitmap = loader->Load();

	delete loader;

	return bitmap;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
cmpw $-0x1, %dx
jne 0x61f1d
movq %r15, %rdi
callq 0x61e13
movl %eax, %edx
cmpw $0x3, %dx
ja 0x61f9e
movzwl %dx, %eax
leaq 0x9266b(%rip), %rcx     # 0xf4598
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x48, %edi
callq 0x556b0
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x623ea
jmp 0x61fa1
movl $0x48, %edi
callq 0x556b0
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x620d6
jmp 0x61fa1
movl $0x48, %edi
callq 0x556b0
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x62c66
jmp 0x61fa1
movl $0x48, %edi
callq 0x556b0
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x62692
jmp 0x61fa1
xorl %r14d, %r14d
testq %r14, %r14
je 0x61fc5
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x57160
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x61fcf
movq %rbx, %rdi
xorl %esi, %esi
callq 0x58950
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
jmp 0x61fde
jmp 0x61fde
jmp 0x61fde
movq %rax, %rbx
movl $0x48, %esi
movq %r14, %rdi
callq 0x55480
movq %rbx, %rdi
callq 0x57090
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/application/application.cpp
// Function: smooth::GUI::Application::Loop()
S::Int S::GUI::Application::Loop()
{
	static Bool	 firstTime = True;

	if (firstTime)
	{
		firstTime = False;

		/* Show pending windows when we are called for the first time.
		 */
		for (Int i = 0; i < Window::GetNOfWindows(); i++)
		{
			Window	*window = Window::GetNthWindow(i);

			if (window != NIL && !window->IsVisibilitySet()) window->Show();
		}
	}

	/* Enter main application loop.
	 */
	System::EventProcessor	 event;

	while (GUI::Window::nOfActiveWindows > 0)
	{
		if (!event.ProcessNextEvent()) break;
	}

	return Success();
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
cmpb $0x0, 0x10c469(%rip)    # 0x16f850
jne 0x63427
movb $0x1, 0x10c460(%rip)    # 0x16f850
movq 0x1092b9(%rip), %rbx    # 0x16c6b0
cmpl $0x0, 0x8(%rbx)
jle 0x63427
xorl %ebp, %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x5b0a4
movq (%rax), %rdi
testq %rdi, %rdi
je 0x63420
cmpb $0x0, 0x5cc(%rdi)
jne 0x63420
movq (%rdi), %rax
callq *0x58(%rax)
incl %ebp
cmpl 0x8(%rbx), %ebp
jl 0x633ff
movq %rsp, %rdi
callq 0x57260
movq 0x10920a(%rip), %r14    # 0x16c640
cmpw $0x0, (%r14)
jle 0x63454
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x568b0
cmpw $0x0, (%r14)
setg %cl
testb %cl, %al
jne 0x63440
movq %rsp, %rdi
callq 0x557d0
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x557d0
movq %rbx, %rdi
callq 0x57090
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/application/application.cpp
// Function: smooth::GUI::Application::SetArguments(smooth::Array<smooth::String, smooth::String> const&)
foreach (const String &arg, nArgs)
	{
		/* Filter out scale factor argument.
		 */
		if (arg.StartsWith("--scale:")) { scaleFactor = arg.Tail(arg.Length() - 8).ToFloat(); continue; }

		/* Add to arguments array.
		 */
		args.Add(arg);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
cmpl $0x0, 0x8(%rdi)
jle 0x63524
movq %rdi, %rbx
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
leaq 0x911d0(%rip), %r14     # 0xf4671
movq %rsp, %r15
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x64224
movq %rax, %r13
movq %r15, %rdi
movq %r14, %rsi
callq 0x579f0
movq %r13, %rdi
movq %r15, %rsi
callq 0x577d0
movl %eax, %r12d
movq %r15, %rdi
callq 0x59200
testb %r12b, %r12b
je 0x6350c
movq %r13, %rdi
callq 0x57180
leal -0x8(%rax), %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x57f90
movq %r15, %rdi
callq 0x577b0
movq 0x10953a(%rip), %rax    # 0x16ca38
movsd %xmm0, (%rax)
movq %r15, %rdi
callq 0x59200
jmp 0x6351b
movq 0x1093d5(%rip), %rdi    # 0x16c8e8
movq %r13, %rsi
callq 0x64280
movl 0x8(%rbx), %eax
decl %eax
cmpl %eax, %ebp
jl 0x634a4
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x63535
movq %rax, %rbx
movq %rsp, %rdi
callq 0x59200
movq %rbx, %rdi
callq 0x57090
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/application/application.cpp
// Function: smooth::GUI::Application::GetStartupDirectory()
S::String S::GUI::Application::GetStartupDirectory()
{
	if (startupDirectory != NIL) return startupDirectory;

#ifdef __WIN32__
	Buffer<wchar_t>	 buffer(32768 + 1);

	if (GetCurrentDirectory(buffer.Size(), buffer))	startupDirectory = buffer;

	if (!startupDirectory.EndsWith("\\")) startupDirectory.Append("\\");
#else
	Buffer<char>	 buffer(PATH_MAX + 1);

	if (getcwd(buffer, buffer.Size()) != NIL) startupDirectory = buffer;

	if (!startupDirectory.EndsWith("/")) startupDirectory.Append("/");
#endif

	return startupDirectory;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq 0x1093de(%rip), %rdi    # 0x16c938
xorl %esi, %esi
callq 0x56bd0
testb %al, %al
je 0x63579
movq 0x1093cc(%rip), %rsi    # 0x16c938
movq %rbx, %rdi
callq 0x570b0
jmp 0x6363d
leaq 0x18(%rsp), %r14
movq %r14, %rdi
movl $0x1001, %esi           # imm = 0x1001
callq 0x5cfaa
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x63599
movq (%rax), %rdi
jmp 0x6359b
xorl %edi, %edi
movslq 0x28(%rsp), %rsi
callq 0x561f0
testq %rax, %rax
je 0x635c7
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x635b9
movq (%rax), %rsi
jmp 0x635bb
xorl %esi, %esi
movq 0x109376(%rip), %rdi    # 0x16c938
callq 0x55f40
leaq 0x910ba(%rip), %rsi     # 0xf4688
movq %rsp, %rdi
callq 0x579f0
movq 0x10935b(%rip), %rdi    # 0x16c938
movq %rsp, %rsi
callq 0x58b10
movl %eax, %ebp
movq %rsp, %rdi
callq 0x59200
testb %bpl, %bpl
jne 0x6361a
leaq 0x9108d(%rip), %rsi     # 0xf4688
movq %rsp, %rdi
callq 0x579f0
movq 0x10932e(%rip), %rdi    # 0x16c938
movq %rsp, %rsi
callq 0x562f0
movq %rsp, %rdi
callq 0x59200
movq 0x109317(%rip), %rsi    # 0x16c938
movq %rbx, %rdi
callq 0x570b0
leaq 0xfd6a8(%rip), %rax     # 0x160cd8
leaq 0x18(%rsp), %rdi
movq %rax, (%rdi)
callq 0x5d862
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x6364d
jmp 0x6365c
movq %rax, %rbx
movq %rsp, %rdi
callq 0x59200
jmp 0x6365f
jmp 0x6365c
movq %rax, %rbx
leaq 0xfd672(%rip), %rax     # 0x160cd8
leaq 0x18(%rsp), %rdi
movq %rax, (%rdi)
callq 0x5d862
movq %rbx, %rdi
callq 0x57090
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/colordlg.cpp
// Function: smooth::GUI::Dialogs::ColorSelection::ColorDlgHueEdit()
void S::GUI::Dialogs::ColorSelection::ColorDlgHueEdit()
{
	Int	 newhue = Math::Max(0, Math::Min(255, (Int) hueedit->GetText().ToInt()));

	if (newhue != acthue)
	{
		acthue = newhue;

		updatetext = False;

		ColorDlgHueSlider();
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x406e8(%rdi), %rdi
movq (%rdi), %rax
callq *0xa8(%rax)
movq %rax, %rdi
callq 0x568c0
movl $0xff, %ecx
cmpl %ecx, %eax
cmovll %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
cmovgl %ecx, %eax
cmpl 0x614(%rbx), %eax
jne 0x67031
popq %rbx
retq
movl %eax, 0x614(%rbx)
movb $0x0, 0x606(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x591c0
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/colordlg.cpp
// Function: smooth::GUI::Dialogs::ColorSelection::ColorDlgSatEdit()
void S::GUI::Dialogs::ColorSelection::ColorDlgSatEdit()
{
	Int	 newsat = Math::Max(0, Math::Min(255, (Int) satedit->GetText().ToInt()));

	if (newsat != actsat)
	{
		actsat = newsat;

		updatetext = False;

		ColorDlgSatSlider();
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x406f0(%rdi), %rdi
movq (%rdi), %rax
callq *0xa8(%rax)
movq %rax, %rdi
callq 0x568c0
movl $0xff, %ecx
cmpl %ecx, %eax
cmovll %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
cmovgl %ecx, %eax
cmpl 0x618(%rbx), %eax
jne 0x6707f
popq %rbx
retq
movl %eax, 0x618(%rbx)
movb $0x0, 0x606(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x59170
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/colordlg.cpp
// Function: smooth::GUI::Dialogs::ColorSelection::ColorDlgValEdit()
void S::GUI::Dialogs::ColorSelection::ColorDlgValEdit()
{
	Int	 newval = Math::Max(0, Math::Min(255, (Int) valedit->GetText().ToInt()));

	if (newval != actval)
	{
		actval = newval;

		updatetext = False;

		ColorDlgValSlider();
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x406f8(%rdi), %rdi
movq (%rdi), %rax
callq *0xa8(%rax)
movq %rax, %rdi
callq 0x568c0
movl $0xff, %ecx
cmpl %ecx, %eax
cmovll %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
cmovgl %ecx, %eax
cmpl 0x61c(%rbx), %eax
jne 0x670cd
popq %rbx
retq
movl %eax, 0x61c(%rbx)
movb $0x0, 0x606(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x59100
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/colordlg.cpp
// Function: smooth::GUI::Dialogs::ColorSelection::ColorDlgRedEdit()
void S::GUI::Dialogs::ColorSelection::ColorDlgRedEdit()
{
	Int	 newred = Math::Max(0, Math::Min(255, (Int) rededit->GetText().ToInt()));

	if (newred != Color(acthue, actsat, actval, Color::HSV).ConvertTo(Color::RGB).GetRed())
	{
		actred = newred;

		updatetext = False;

		ColorDlgRedSlider();
	}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x40700(%rdi), %rdi
movq (%rdi), %rax
callq *0xa8(%rax)
movq %rax, %rdi
callq 0x568c0
movl $0xff, %ebp
cmpl %ebp, %eax
cmovll %eax, %ebp
xorl %eax, %eax
testl %ebp, %ebp
cmovlel %eax, %ebp
movl 0x618(%rbx), %eax
movl 0x61c(%rbx), %ecx
shll $0x10, %ecx
shll $0x8, %eax
orl 0x614(%rbx), %eax
orl %ecx, %eax
cltq
movq %rsp, %rsi
movq %rax, 0x8(%rsi)
movl $0x2, (%rsi)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
xorl %edx, %edx
callq 0x57d10
movzbl 0x8(%r14), %eax
cmpl %eax, %ebp
je 0x6716e
movl %ebp, 0x620(%rbx)
movb $0x0, 0x606(%rbx)
movq %rbx, %rdi
callq 0x591b0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/colordlg.cpp
// Function: smooth::GUI::Dialogs::ColorSelection::ColorDlgGreenEdit()
void S::GUI::Dialogs::ColorSelection::ColorDlgGreenEdit()
{
	Int	 newgreen = Math::Max(0, Math::Min(255, (Int) greenedit->GetText().ToInt()));

	if (newgreen != Color(acthue, actsat, actval, Color::HSV).ConvertTo(Color::RGB).GetGreen())
	{
		actgreen = newgreen;

		updatetext = False;

		ColorDlgGreenSlider();
	}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x40708(%rdi), %rdi
movq (%rdi), %rax
callq *0xa8(%rax)
movq %rax, %rdi
callq 0x568c0
movl $0xff, %ebp
cmpl %ebp, %eax
cmovll %eax, %ebp
xorl %eax, %eax
testl %ebp, %ebp
cmovlel %eax, %ebp
movl 0x618(%rbx), %eax
movl 0x61c(%rbx), %ecx
shll $0x10, %ecx
shll $0x8, %eax
orl 0x614(%rbx), %eax
orl %ecx, %eax
cltq
movq %rsp, %rsi
movq %rax, 0x8(%rsi)
movl $0x2, (%rsi)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
xorl %edx, %edx
callq 0x57d10
movzbl 0x9(%r14), %eax
cmpl %eax, %ebp
je 0x67202
movl %ebp, 0x624(%rbx)
movb $0x0, 0x606(%rbx)
movq %rbx, %rdi
callq 0x59140
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/colordlg.cpp
// Function: smooth::GUI::Dialogs::ColorSelection::ColorDlgBlueEdit()
void S::GUI::Dialogs::ColorSelection::ColorDlgBlueEdit()
{
	Int	 newblue = Math::Max(0, Math::Min(255, (Int) blueedit->GetText().ToInt()));

	if (newblue != Color(acthue, actsat, actval, Color::HSV).ConvertTo(Color::RGB).GetBlue())
	{
		actblue = newblue;

		updatetext = False;

		ColorDlgBlueSlider();
	}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x40710(%rdi), %rdi
movq (%rdi), %rax
callq *0xa8(%rax)
movq %rax, %rdi
callq 0x568c0
movl $0xff, %ebp
cmpl %ebp, %eax
cmovll %eax, %ebp
xorl %eax, %eax
testl %ebp, %ebp
cmovlel %eax, %ebp
movl 0x618(%rbx), %eax
movl 0x61c(%rbx), %ecx
shll $0x10, %ecx
shll $0x8, %eax
orl 0x614(%rbx), %eax
orl %ecx, %eax
cltq
movq %rsp, %rsi
movq %rax, 0x8(%rsi)
movl $0x2, (%rsi)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
xorl %edx, %edx
callq 0x57d10
movzbl 0xa(%r14), %eax
cmpl %eax, %ebp
je 0x67296
movl %ebp, 0x628(%rbx)
movb $0x0, 0x606(%rbx)
movq %rbx, %rdi
callq 0x591a8
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/colordlg.cpp
// Function: smooth::GUI::Dialogs::ColorSelection::ColorDlgUpdateHexValue()
void S::GUI::Dialogs::ColorSelection::ColorDlgUpdateHexValue()
{
	hexval[0] = '#';
	hexval[1] = 48 + (actred / 16);
	hexval[2] = 48 + (actred % 16);
	hexval[3] = 48 + (actgreen / 16);
	hexval[4] = 48 + (actgreen % 16);
	hexval[5] = 48 + (actblue / 16);
	hexval[6] = 48 + (actblue % 16);

	for (Int i = 1; i < 7; i++)
	{
		if (hexval[i] > 57) hexval[i] = 'a' + (hexval[i] - 58);
	}

	hueslider->SetValue(acthue);
	satslider->SetValue(actsat);
	valslider->SetValue(actval);

	redslider->SetValue(actred);
	greenslider->SetValue(actgreen);
	blueslider->SetValue(actblue);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x40630(%rdi), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x58990
movl $0x23, (%rax)
movl 0x620(%rbx), %eax
leal 0xf(%rax), %r15d
testl %eax, %eax
cmovnsl %eax, %r15d
sarl $0x4, %r15d
addl $0x30, %r15d
movl $0x1, %ebp
movq %r14, %rdi
movl $0x1, %esi
callq 0x58990
movl %r15d, (%rax)
movl 0x620(%rbx), %eax
leal 0xf(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
andl $-0x10, %ecx
negl %ecx
leal (%rax,%rcx), %r15d
addl $0x30, %r15d
movq %r14, %rdi
movl $0x2, %esi
callq 0x58990
movl %r15d, (%rax)
movl 0x624(%rbx), %eax
leal 0xf(%rax), %r15d
testl %eax, %eax
cmovnsl %eax, %r15d
sarl $0x4, %r15d
addl $0x30, %r15d
movq %r14, %rdi
movl $0x3, %esi
callq 0x58990
movl %r15d, (%rax)
movl 0x624(%rbx), %eax
leal 0xf(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
andl $-0x10, %ecx
negl %ecx
leal (%rax,%rcx), %r15d
addl $0x30, %r15d
movq %r14, %rdi
movl $0x4, %esi
callq 0x58990
movl %r15d, (%rax)
movl 0x628(%rbx), %eax
leal 0xf(%rax), %r15d
testl %eax, %eax
cmovnsl %eax, %r15d
sarl $0x4, %r15d
addl $0x30, %r15d
movq %r14, %rdi
movl $0x5, %esi
callq 0x58990
movl %r15d, (%rax)
movl 0x628(%rbx), %eax
leal 0xf(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
andl $-0x10, %ecx
negl %ecx
leal (%rax,%rcx), %r15d
addl $0x30, %r15d
movq %r14, %rdi
movl $0x6, %esi
callq 0x58990
movl %r15d, (%rax)
movq %r14, %rdi
movl %ebp, %esi
callq 0x58990
cmpl $0x3a, (%rax)
jl 0x673ec
movq %r14, %rdi
movl %ebp, %esi
callq 0x58990
movl (%rax), %r15d
addl $0x27, %r15d
movq %r14, %rdi
movl %ebp, %esi
callq 0x58990
movl %r15d, (%rax)
incl %ebp
cmpl $0x7, %ebp
jne 0x673bf
movq 0x40680(%rbx), %rdi
movl 0x614(%rbx), %esi
callq 0x55250
movq 0x40688(%rbx), %rdi
movl 0x618(%rbx), %esi
callq 0x55250
movq 0x40690(%rbx), %rdi
movl 0x61c(%rbx), %esi
callq 0x55250
movq 0x40698(%rbx), %rdi
movl 0x620(%rbx), %esi
callq 0x55250
movq 0x406a0(%rbx), %rdi
movl 0x624(%rbx), %esi
callq 0x55250
movq 0x406a8(%rbx), %rdi
movl 0x628(%rbx), %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x55250
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/colordlg.cpp
// Function: smooth::GUI::Dialogs::ColorSelection::~ColorSelection()
S::GUI::Dialogs::ColorSelection::~ColorSelection()
{
	DeleteObject(titlebar);
	DeleteObject(divbar);
	DeleteObject(dlgwnd);
	DeleteObject(okbtn);
	DeleteObject(cancelbtn);
	DeleteObject(ncarea);
	DeleteObject(ocarea);
	DeleteObject(hueslider);
	DeleteObject(satslider);
	DeleteObject(valslider);
	DeleteObject(redslider);
	DeleteObject(greenslider);
	DeleteObject(blueslider);
	DeleteObject(huetext);
	DeleteObject(sattext);
	DeleteObject(valtext);
	DeleteObject(redtext);
	DeleteObject(greentext);
	DeleteObject(bluetext);
	DeleteObject(hueedit);
	DeleteObject(satedit);
	DeleteObject(valedit);
	DeleteObject(rededit);
	DeleteObject(greenedit);
	DeleteObject(blueedit);
	DeleteObject(hextext);
	DeleteObject(hexedit);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x104563(%rip), %rax    # 0x16ca00
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x40650(%rdi), %rdi
callq 0x58cc0
movq 0x40658(%rbx), %rdi
callq 0x58cc0
movq 0x40648(%rbx), %rdi
callq 0x58cc0
movq 0x40660(%rbx), %rdi
callq 0x58cc0
movq 0x40668(%rbx), %rdi
callq 0x58cc0
movq 0x40670(%rbx), %rdi
callq 0x58cc0
movq 0x40678(%rbx), %rdi
callq 0x58cc0
movq 0x40680(%rbx), %rdi
callq 0x58cc0
movq 0x40688(%rbx), %rdi
callq 0x58cc0
movq 0x40690(%rbx), %rdi
callq 0x58cc0
movq 0x40698(%rbx), %rdi
callq 0x58cc0
movq 0x406a0(%rbx), %rdi
callq 0x58cc0
movq 0x406a8(%rbx), %rdi
callq 0x58cc0
movq 0x406b0(%rbx), %rdi
callq 0x58cc0
movq 0x406b8(%rbx), %rdi
callq 0x58cc0
movq 0x406c0(%rbx), %rdi
callq 0x58cc0
movq 0x406c8(%rbx), %rdi
callq 0x58cc0
movq 0x406d0(%rbx), %rdi
callq 0x58cc0
movq 0x406d8(%rbx), %rdi
callq 0x58cc0
movq 0x406e8(%rbx), %rdi
callq 0x58cc0
movq 0x406f0(%rbx), %rdi
callq 0x58cc0
movq 0x406f8(%rbx), %rdi
callq 0x58cc0
movq 0x40700(%rbx), %rdi
callq 0x58cc0
movq 0x40708(%rbx), %rdi
callq 0x58cc0
movq 0x40710(%rbx), %rdi
callq 0x58cc0
movq 0x406e0(%rbx), %rdi
callq 0x58cc0
movq 0x40718(%rbx), %rdi
callq 0x58cc0
leaq 0x40630(%rbx), %rdi
callq 0x59200
movq %rbx, %rdi
popq %rbx
jmp 0x55b00
movq %rax, %rdi
callq 0x5aede
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/colordlg.cpp
// Function: smooth::GUI::Dialogs::ColorSelection::ShowDialog()
const Error &S::GUI::Dialogs::ColorSelection::ShowDialog()
{
	if (parentWindow != NIL) dlgwnd->SetMetrics(parentWindow->GetPosition() + Point(25, 25), Size(436, 286));
	if (caption != NIL)	 dlgwnd->SetText(caption);

	ColorDlgUpdatePickers();

	dlgwnd->WaitUntilClosed();

	return error;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x5d0(%rdi), %rax
testq %rax, %rax
je 0x68677
movq 0x40648(%rbx), %rdi
movl 0xa8(%rax), %ecx
movl 0xac(%rax), %eax
addl $0x19, %ecx
addl $0x19, %eax
shlq $0x20, %rax
orq %rax, %rcx
leaq 0x8(%rsp), %rsi
movq %rcx, (%rsi)
movabsq $0x11e000001b4, %rax    # imm = 0x11E000001B4
leaq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq (%rdi), %rax
callq *0x150(%rax)
leaq 0x5b8(%rbx), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x56bd0
testb %al, %al
je 0x6869f
movq 0x40648(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0xa0(%rax)
movq %rbx, %rdi
callq 0x58380
movq 0x40648(%rbx), %rdi
callq 0x563a0
addq $0x5d8, %rbx            # imm = 0x5D8
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/messagebox.cpp
// Function: smooth::GUI::Dialogs::QuickMessage(smooth::String const&, smooth::String const&, int, smooth::GUI::Bitmap const&)
S::Int S::GUI::Dialogs::QuickMessage(const String &text, const String &title, Int buttons, const Bitmap &icon)
{
	MessageDlg	*app = new MessageDlg(text, title, buttons, icon);

	app->ShowDialog();

	Int		 rVal = app->GetButtonCode();

	Object::DeleteObject(app);

	return rVal;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r12
movl $0x6d8, %edi            # imm = 0x6D8
callq 0x556b0
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x58e20
movq $0x0, (%rsp)
leaq 0x8(%rsp), %r9
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
movl %ebp, %ecx
movq %r14, %r8
callq 0x57b00
leaq 0x8(%rsp), %rdi
callq 0x59200
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x168(%rax)
movl 0x6c0(%rbx), %ebp
movq %rbx, %rdi
callq 0x58cc0
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x59200
jmp 0x69781
movq %rax, %r14
movl $0x6d8, %esi            # imm = 0x6D8
movq %rbx, %rdi
callq 0x55480
movq %r14, %rdi
callq 0x57090
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/messagebox.cpp
// Function: smooth::GUI::Dialogs::QuickMessage(smooth::String const&, smooth::String const&, int, int)
S::Int S::GUI::Dialogs::QuickMessage(const String &text, const String &title, Int buttons, Int iconID)
{
	MessageDlg	*app = new MessageDlg(text, title, buttons, iconID);

	app->ShowDialog();

	Int		 rVal = app->GetButtonCode();

	Object::DeleteObject(app);

	return rVal;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %ecx, %ebp
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %r12
movl $0x6d8, %edi            # imm = 0x6D8
callq 0x556b0
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x58e20
movq $0x0, (%rsp)
leaq 0x8(%rsp), %r9
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x57d90
leaq 0x8(%rsp), %rdi
callq 0x59200
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x168(%rax)
movl 0x6c0(%rbx), %ebp
movq %rbx, %rdi
callq 0x58cc0
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x59200
jmp 0x69833
movq %rax, %r14
movl $0x6d8, %esi            # imm = 0x6D8
movq %rbx, %rdi
callq 0x55480
movq %r14, %rdi
callq 0x57090
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/messagebox.cpp
// Function: smooth::GUI::Dialogs::MessageDlg::~MessageDlg()
S::GUI::Dialogs::MessageDlg::~MessageDlg()
{
	foreach (Button *button, buttonWidgets) DeleteObject(button);

	DeleteObject(layer);
	DeleteObject(icon);
	DeleteObject(titlebar);
	DeleteObject(msgbox);

	if (checkbox != NIL) DeleteObject(checkbox);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x101c8a(%rip), %rax    # 0x16cd10
addq $0x10, %rax
movq %rax, (%rdi)
cmpl $0x0, 0x670(%rdi)
jle 0x6b0c2
leaq 0x668(%rbx), %r14
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
incl %ebp
movq %r14, %rdi
movl %ebp, %esi
callq 0x60a40
movq (%rax), %rdi
callq 0x58cc0
movl 0x670(%rbx), %eax
decl %eax
cmpl %eax, %ebp
jl 0x6b0a2
movq 0x600(%rbx), %rdi
callq 0x58cc0
movq 0x608(%rbx), %rdi
callq 0x58cc0
movq 0x5f8(%rbx), %rdi
callq 0x58cc0
movq 0x5f0(%rbx), %rdi
callq 0x58cc0
movq 0x6c8(%rbx), %rdi
testq %rdi, %rdi
je 0x6b103
callq 0x58cc0
leaq 0x668(%rbx), %rdi
callq 0x5b11e
leaq 0x610(%rbx), %rdi
callq 0x63e08
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x55b00
jmp 0x6b12b
jmp 0x6b12b
movq %rax, %rdi
callq 0x5aede
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/messagebox.cpp
// Function: smooth::GUI::Dialogs::MessageDlg::MessageButton(int)
S::Void S::GUI::Dialogs::MessageDlg::MessageButton(Int buttonID)
{
	if	(buttonLabels.GetNth(buttonID) == "OK")	    buttonCode = Message::Button::Ok;
	else if	(buttonLabels.GetNth(buttonID) == "Cancel") buttonCode = Message::Button::Cancel;
	else if	(buttonLabels.GetNth(buttonID) == "Yes")    buttonCode = Message::Button::Yes;
	else if	(buttonLabels.GetNth(buttonID) == "No")	    buttonCode = Message::Button::No;
	else if	(buttonLabels.GetNth(buttonID) == "Retry")  buttonCode = Message::Button::Retry;
	else if	(buttonLabels.GetNth(buttonID) == "Abort")  buttonCode = Message::Button::Abort;
	else if	(buttonLabels.GetNth(buttonID) == "Ignore") buttonCode = Message::Button::Ignore;

	msgbox->Close();
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x610(%rdi), %r14
movq %r14, %rdi
callq 0x6b6a6
leaq 0xc3dc3(%rip), %rsi     # 0x12ef54
movq %rax, %rdi
callq 0x57ef0
movl $0x1, %ecx
testb %al, %al
jne 0x6b27a
movq %r14, %rdi
movl %ebp, %esi
callq 0x6b6a6
leaq 0x895f9(%rip), %rsi     # 0xf47b0
movq %rax, %rdi
callq 0x57ef0
movl $0x2, %ecx
testb %al, %al
jne 0x6b27a
movq %r14, %rdi
movl %ebp, %esi
callq 0x6b6a6
leaq 0x897f7(%rip), %rsi     # 0xf49d4
movq %rax, %rdi
callq 0x57ef0
movl $0x6, %ecx
testb %al, %al
jne 0x6b27a
movq %r14, %rdi
movl %ebp, %esi
callq 0x6b6a6
leaq 0x897d5(%rip), %rsi     # 0xf49d8
movq %rax, %rdi
callq 0x57ef0
movl $0x7, %ecx
testb %al, %al
jne 0x6b27a
movq %r14, %rdi
movl %ebp, %esi
callq 0x6b6a6
leaq 0x897b6(%rip), %rsi     # 0xf49db
movq %rax, %rdi
callq 0x57ef0
movl $0x4, %ecx
testb %al, %al
jne 0x6b27a
movq %r14, %rdi
movl %ebp, %esi
callq 0x6b6a6
leaq 0x8979a(%rip), %rsi     # 0xf49e1
movq %rax, %rdi
callq 0x57ef0
movl $0x3, %ecx
testb %al, %al
jne 0x6b27a
movq %r14, %rdi
movl %ebp, %esi
callq 0x6b6a6
leaq 0x8977e(%rip), %rsi     # 0xf49e7
movq %rax, %rdi
callq 0x57ef0
movl $0x5, %ecx
testb %al, %al
je 0x6b280
movl %ecx, 0x6c0(%rbx)
movq 0x5f0(%rbx), %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x58420
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/splashscreen.cpp
// Function: smooth::GUI::Dialogs::SplashScreen::SplashPaintProc()
S::Void S::GUI::Dialogs::SplashScreen::SplashPaintProc()
{
	Surface	*surface = splashscreen->GetDrawSurface();
	Rect	 bmpRect;

	bmpRect.left	= 1;
	bmpRect.top	= 1;
	bmpRect.right	= bmpRect.left + bitmap.GetSize().cx;
	bmpRect.bottom	= bmpRect.top + bitmap.GetSize().cy;

	surface->BlitFromBitmap(bitmap, Rect(Point(0, 0), bitmap.GetSize()), bmpRect);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x5f8(%rdi), %rdi
movq (%rdi), %rax
callq *0x40(%rax)
movq %rax, %r15
xorps %xmm0, %xmm0
movq %rsp, %r14
movaps %xmm0, (%r14)
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, (%r14)
addq $0x5f0, %rbx            # imm = 0x5F0
movq %rbx, %rdi
callq 0x58410
movl (%rax), %eax
incl %eax
movl %eax, 0x8(%r14)
movl 0x4(%r14), %ebp
movq %rbx, %rdi
callq 0x58410
addl 0x4(%rax), %ebp
movl %ebp, 0xc(%r14)
movq %rbx, %rdi
callq 0x58410
leaq 0x18(%rsp), %rdx
movq $0x0, (%rdx)
movl (%rax), %ecx
movl %ecx, 0x8(%rdx)
movl 0x4(%rax), %eax
movl %eax, 0xc(%rdx)
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rcx
callq 0x55ba0
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/splashscreen.cpp
// Function: smooth::GUI::Dialogs::SplashScreen::ShowDialog()
const Error &S::GUI::Dialogs::SplashScreen::ShowDialog()
{
	splashscreen->Show();

	timer->Start(time);

	splashscreen->WaitUntilClosed();

	return error;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x5f8(%rdi), %rdi
movq (%rdi), %rax
callq *0x58(%rax)
movq 0x600(%rbx), %rdi
movl 0x5e8(%rbx), %esi
callq 0x55100
movq 0x5f8(%rbx), %rdi
callq 0x563a0
addq $0x5d8, %rbx            # imm = 0x5D8
movq %rbx, %rax
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/tipodaydlg.cpp
// Function: smooth::GUI::Dialogs::TipOfTheDay::OnNext()
S::Void S::GUI::Dialogs::TipOfTheDay::OnNext()
{
	if (tips.Length() <= 1) return;

	String	 tip;

	switch (mode)
	{
		case TIP_ORDERED:
			tip = tips.GetNth(offset++);

			if (offset == tips.Length()) offset = 0;

			break;
		case TIP_RANDOM:
			Math::RandomSeed();

			do
			{
				tip = tips.GetNth(Math::Random() % tips.Length());
			}
			while (tip == txt_tip->GetText());

			break;
	}

	txt_tip->SetText(tip);

	OnPaint();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
cmpl $0x2, 0x648(%rdi)
jl 0x6c6fe
movq %rdi, %rbx
leaq 0x640(%rdi), %r14
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x58e20
movl 0x698(%rbx), %eax
cmpl $0x1, %eax
je 0x6c68d
testl %eax, %eax
jne 0x6c6d7
movl 0x69c(%rbx), %esi
leal 0x1(%rsi), %eax
movl %eax, 0x69c(%rbx)
movq %r14, %rdi
callq 0x6b6a6
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x555f0
movl 0x69c(%rbx), %eax
cmpl 0x648(%rbx), %eax
jne 0x6c6d7
movl $0x0, 0x69c(%rbx)
jmp 0x6c6d7
callq 0x55890
leaq 0x8(%rsp), %r15
callq 0x55fc0
cltd
idivl 0x648(%rbx)
movq %r14, %rdi
movl %edx, %esi
callq 0x6b6a6
movq %r15, %rdi
movq %rax, %rsi
callq 0x555f0
movq 0x628(%rbx), %rdi
movq (%rdi), %rax
callq *0xa8(%rax)
movq %r15, %rdi
movq %rax, %rsi
callq 0x55900
testb %al, %al
jne 0x6c697
movq 0x628(%rbx), %rdi
movq (%rdi), %rax
leaq 0x8(%rsp), %rsi
callq *0xa0(%rax)
movq %rbx, %rdi
callq 0x59160
leaq 0x8(%rsp), %rdi
callq 0x59200
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x6c70a
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x59200
movq %rbx, %rdi
callq 0x57090
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/dialogs/tipodaydlg.cpp
// Function: smooth::GUI::Dialogs::TipOfTheDay::~TipOfTheDay()
S::GUI::Dialogs::TipOfTheDay::~TipOfTheDay()
{
	DeleteObject(dlgwnd);

	DeleteObject(titlebar);
	DeleteObject(divbar);

	DeleteObject(btn_ok);
	DeleteObject(btn_next);
	DeleteObject(check_showtips);

	DeleteObject(img_light);
	DeleteObject(txt_didyouknow);

	DeleteObject(layer_inner);

	DeleteObject(txt_tip);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x10078f(%rip), %rax    # 0x16cf60
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x5e8(%rdi), %rdi
callq 0x58cc0
movq 0x5f0(%rbx), %rdi
callq 0x58cc0
movq 0x5f8(%rbx), %rdi
callq 0x58cc0
movq 0x600(%rbx), %rdi
callq 0x58cc0
movq 0x608(%rbx), %rdi
callq 0x58cc0
movq 0x610(%rbx), %rdi
callq 0x58cc0
movq 0x618(%rbx), %rdi
callq 0x58cc0
movq 0x620(%rbx), %rdi
callq 0x58cc0
movq 0x630(%rbx), %rdi
callq 0x58cc0
movq 0x628(%rbx), %rdi
callq 0x58cc0
leaq 0x640(%rbx), %rdi
callq 0x63e08
movq %rbx, %rdi
popq %rbx
jmp 0x55b00
movq %rax, %rdi
callq 0x5aede
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/layer.cpp
// Function: smooth::GUI::Layer::Layer(smooth::String const&)
S::GUI::Layer::Layer(const String &name) : Widget(Point(0, 0), Size(32768, 32768))
{
	type	    = classID;

	text	    = name;
	orientation = OR_CENTER;

	ComputeTextSize();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %rsi
movq $0x0, (%rsi)
movabsq $0x800000008000, %rax   # imm = 0x800000008000
leaq 0x8(%rsp), %rdx
movq %rax, (%rdx)
callq 0x57a30
movq 0xff929(%rip), %rax     # 0x16cac8
addq $0x10, %rax
movq %rax, (%rbx)
movq 0xff653(%rip), %rax     # 0x16c800
movzwl (%rax), %eax
movw %ax, 0x20(%rbx)
leaq 0xf0(%rbx), %rdi
movq %r14, %rsi
callq 0x555f0
movw $0x40, 0xd0(%rbx)
movq %rbx, %rdi
callq 0x55bb0
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x57640
movq %r14, %rdi
callq 0x57090
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/layer.cpp
// Function: smooth::GUI::Layer::Paint(int)
S::Int S::GUI::Layer::Paint(Int message)
{
	if (!IsRegistered()) return Error();
	if (!IsVisible())    return Success();

	switch (message)
	{
		case SP_PAINT:
			if (IsBackgroundColorSet())
			{
				Surface	*surface = GetDrawSurface();

				surface->Box(Rect(GetRealPosition(), GetRealSize()), GetBackgroundColor(), Rect::Filled);
			}

			break;
	}

	return Widget::Paint(message);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
movq %rdi, %r14
movq (%rdi), %rax
callq *0x88(%rax)
movl %eax, %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testb %cl, %cl
je 0x6d2e7
movq (%r14), %rax
movq %r14, %rdi
callq *0x90(%rax)
movl %eax, %ecx
xorl %eax, %eax
testb %cl, %cl
je 0x6d2e7
testl %ebx, %ebx
jne 0x6d2dd
movq (%r14), %rax
movq %r14, %rdi
callq *0x148(%rax)
testb %al, %al
je 0x6d2dd
movq (%r14), %rax
movq %r14, %rdi
callq *0x40(%rax)
movq %rax, %r15
movq (%r14), %rax
movq %r14, %rdi
callq *0x48(%rax)
movq %rax, %r12
movq %rax, %rbp
shrq $0x20, %rbp
movq (%r14), %rax
movq %r14, %rdi
callq *0x50(%rax)
leal (%rax,%r12), %ecx
shrq $0x20, %rax
leaq 0x8(%rsp), %r13
movl %r12d, (%r13)
movl %ebp, 0x4(%r13)
movl %ecx, 0x8(%r13)
addl %ebp, %eax
movl %eax, 0xc(%r13)
movq (%r14), %rax
movq %r14, %rdi
callq *0x140(%rax)
movq 0xffce5(%rip), %rcx     # 0x16cfa8
movl (%rcx), %ecx
movq %rsp, %r8
movq $0x0, (%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x57930
movq %r14, %rdi
movl %ebx, %esi
callq 0x567d0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::DeactivateTooltip()
S::Void S::GUI::Widget::DeactivateTooltip()
{
	Application::Lock	 lock;

	if (tipTimer != NIL)
	{
		tipTimer->Stop();

		DeleteObject(tipTimer);

		tipTimer = NIL;
	}

	if (tooltip != NIL)
	{
		PopupMenu::internalOnOpenPopupMenu.Disconnect(&Widget::DeactivateTooltip, this);

		tooltip->Hide();

		DeleteObject(tooltip);

		tooltip = NIL;
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x55420
movq 0xa0(%rbx), %rdi
testq %rdi, %rdi
je 0x6e0ef
callq 0x59190
movq 0xa0(%rbx), %rdi
callq 0x58cc0
movq $0x0, 0xa0(%rbx)
cmpq $0x0, 0x90(%rbx)
je 0x6e135
movq 0xfe688(%rip), %rdi     # 0x16c788
movq 0xfeeb9(%rip), %rsi     # 0x16cfc0
xorl %edx, %edx
movq %rbx, %rcx
callq 0x70874
movq 0x90(%rbx), %rdi
movq (%rdi), %rax
callq *0x60(%rax)
movq 0x90(%rbx), %rdi
callq 0x58cc0
movq $0x0, 0x90(%rbx)
callq 0x56e90
popq %rbx
retq
jmp 0x6e14e
movq %rax, %rbx
callq 0x56e90
movq %rbx, %rdi
callq 0x57090
movq %rax, %rdi
callq 0x5aede
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::CloseContextMenu()
S::Void S::GUI::Widget::CloseContextMenu()
{
	if (contextMenu != NIL)
	{
		contextMenu->internalRequestClose.Disconnect(&Widget::CloseContextMenu, this);

		Remove(contextMenu);

		contextMenu = NIL;

		onCloseContextMenu.Emit();
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x198(%rdi), %rdi
testq %rdi, %rdi
je 0x6e1a9
addq $0x698, %rdi            # imm = 0x698
movq 0xfe3b4(%rip), %rsi     # 0x16c528
xorl %edx, %edx
movq %rbx, %rcx
callq 0x708e0
movq (%rbx), %rax
movq 0x198(%rbx), %rsi
movq %rbx, %rdi
callq *0x38(%rax)
movq $0x0, 0x198(%rbx)
addq $0x4b8, %rbx            # imm = 0x4B8
movq %rbx, %rdi
popq %rbx
jmp 0x70488
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::EnableLocking(bool)
S::Int S::GUI::Widget::EnableLocking(Bool enable)
{
	if (enable) widgets.EnableLocking();
	else	    widgets.DisableLocking();

	foreach (Widget *widget, widgets) widget->EnableLocking(enable);

	return Object::EnableLocking(enable);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x38(%rdi), %r14
movq %r14, %rdi
testl %esi, %esi
je 0x6e1e2
callq 0x571b0
jmp 0x6e1e7
callq 0x57810
cmpl $0x0, 0x40(%rbx)
movzbl %bpl, %ebp
jle 0x6e21a
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
incl %r15d
movq %r14, %rdi
movl %r15d, %esi
callq 0x60a40
movq (%rax), %rdi
movq (%rdi), %rax
movl %ebp, %esi
callq *0x18(%rax)
movl 0x40(%rbx), %eax
decl %eax
cmpl %eax, %r15d
jl 0x6e1f7
movq %rbx, %rdi
movl %ebp, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x55af0
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::EnqueueForDeletion()
S::Void S::GUI::Widget::EnqueueForDeletion()
{
	onEnqueueForDeletion.Emit();

	DeactivateTooltip();

	CloseContextMenu();

	if (registered && container != NIL) container->Remove(this);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
addq $0x598, %rdi            # imm = 0x598
callq 0x70488
movq %rbx, %rdi
callq 0x59208
movq %rbx, %rdi
callq 0x59128
cmpb $0x1, 0xca(%rbx)
jne 0x6e270
movq 0x190(%rbx), %rdi
testq %rdi, %rdi
je 0x6e270
movq (%rdi), %rax
movq 0x38(%rax), %rax
movq %rbx, %rsi
popq %rbx
jmpq *%rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::Add(smooth::GUI::Widget*)
S::Int S::GUI::Widget::Add(Widget *widget)
{
	if (widget == NIL) return Error();

	if (!widget->IsRegistered())
	{
		widgets.Add(widget, widget->GetHandle());

		widget->EnableLocking(IsLockingEnabled());

		widget->SetContainer(this);
		widget->SetRegisteredFlag(True);

		widget->onRegister.Emit(this);

		if (widget->visible)
		{
			widget->visible = False;

			widget->Show();
		}

		return Success();
	}

	return Error();
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testq %rsi, %rsi
je 0x6e2f4
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x88(%rax)
testb %al, %al
jne 0x6e2f4
leaq 0x38(%r14), %rdi
movl 0x8(%rbx), %edx
leaq 0x8(%rsp), %rsi
movq %rbx, (%rsi)
callq 0x5af72
movzbl 0x18(%r14), %esi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movq %r14, 0x190(%rbx)
movb $0x1, 0xca(%rbx)
leaq 0x558(%rbx), %rdi
movq %r14, %rsi
callq 0x7051e
xorl %ebp, %ebp
cmpb $0x1, 0xcb(%rbx)
jne 0x6e2f4
movb $0x0, 0xcb(%rbx)
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x58(%rax)
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::Remove(smooth::GUI::Widget*)
S::Int S::GUI::Widget::Remove(Widget *widget)
{
	if (widget == NIL) return Error();

	if (widget->IsRegistered())
	{
		if (widgets.Remove(widget->GetHandle()) == True)
		{
			widget->Hide();
			widget->onUnregister.Emit(this);

			widget->SetRegisteredFlag(False);
			widget->SetContainer(NIL);

			widget->visible = True;

			return Success();
		}
	}

	return Error();
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testq %rsi, %rsi
je 0x6e362
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x88(%rax)
testb %al, %al
je 0x6e362
leaq 0x38(%r14), %rdi
movl 0x8(%rbx), %esi
callq 0x58bb0
testb %al, %al
je 0x6e362
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x60(%rax)
leaq 0x578(%rbx), %rdi
movq %r14, %rsi
callq 0x7051e
movw $0x100, 0xca(%rbx)      # imm = 0x100
movq $0x0, 0x190(%rbx)
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::GetContainerWindow() const
S::GUI::Window *S::GUI::Widget::GetContainerWindow() const
{
	Widget	*widget = const_cast<Widget *>(this);

	while (widget->GetObjectType() != Window::classID)
	{
		if (widget->GetContainer() == NIL) return NIL;

		widget = widget->GetContainer();
	}

	return (Window *) widget;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xfe4b1(%rip), %rax     # 0x16c828
movswl (%rax), %ebp
leaq 0x20(%rbx), %rdi
movl %ebp, %esi
callq 0x57520
testb %al, %al
jne 0x6e397
movq 0x190(%rbx), %rbx
testq %rbx, %rbx
jne 0x6e37a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::GetPreviousTabstopWidget(int) const
S::GUI::Widget *S::GUI::Widget::GetPreviousTabstopWidget(Int widgetHandle) const
{
	Widget	*lastTabstopObject = NIL;

	if (registered && widgetHandle != 0) lastTabstopObject = container->GetPreviousTabstopWidget(GetHandle());

	foreach (Widget *widget, widgets)
	{
		if (widget->GetHandle() == widgetHandle) return lastTabstopObject;

		if	(widget->IsTabstopCapable() && widget->IsActive()) lastTabstopObject = widget;
		else if (widget->GetPreviousTabstopWidget(0) != NIL)	   lastTabstopObject = widget->GetPreviousTabstopWidget(0);
	}

	if (widgetHandle == 0) return lastTabstopObject;

	return NIL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
movq %rdi, %r15
xorl %r12d, %r12d
movl $0x0, %eax
movq %rax, (%rsp)
testl %esi, %esi
je 0x6e409
cmpb $0x0, 0xca(%r15)
je 0x6e409
movq 0x190(%r15), %rdi
movl 0x8(%r15), %esi
callq 0x57d00
movq %rax, (%rsp)
leaq 0x38(%r15), %rax
movq %rax, 0x10(%rsp)
xorl %r13d, %r13d
movb $0x1, %cl
testl %r13d, %r13d
jne 0x6e4ad
leal -0x1(%r12), %eax
movl 0x40(%r15), %edx
decl %edx
cmpl %edx, %eax
jge 0x6e4ad
movq 0x10(%rsp), %rdi
movl %r12d, %esi
callq 0x71446
movq (%rax), %rbp
movl 0x8(%rbp), %r14d
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
cmpl %ebx, %r14d
jne 0x6e459
movq (%rsp), %rax
movq %rax, 0x8(%rsp)
jmp 0x6e49f
cmpb $0x1, 0xd2(%rbp)
jne 0x6e47c
movq (%rbp), %rax
movq %rbp, %rdi
callq *0x98(%rax)
xorl %r13d, %r13d
testb %al, %al
je 0x6e47c
movq %rbp, (%rsp)
jmp 0x6e49f
xorl %r13d, %r13d
movq %rbp, %rdi
xorl %esi, %esi
callq 0x57d00
testq %rax, %rax
je 0x6e49f
xorl %r13d, %r13d
movq %rbp, %rdi
xorl %esi, %esi
callq 0x57d00
movq %rax, (%rsp)
incl %r12d
cmpl %ebx, %r14d
jne 0x6e415
xorl %ecx, %ecx
xorl %eax, %eax
testl %ebx, %ebx
cmoveq (%rsp), %rax
testb %cl, %cl
cmoveq 0x8(%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::GetNextTabstopWidget(int) const
S::GUI::Widget *S::GUI::Widget::GetNextTabstopWidget(Int widgetHandle) const
{
	Bool	 found = False;

	if (widgetHandle == 0) found = True;

	foreach (Widget *widget, widgets)
	{
		if (widget->GetHandle() == widgetHandle)
		{
			found = True;
			continue;
		}

		if	(found && widget->IsTabstopCapable() && widget->IsActive()) return widget;
		else if (found && widget->GetNextTabstopWidget(0) != NIL)	    return widget->GetNextTabstopWidget(0);
	}

	if (registered && widgetHandle != 0) return container->GetNextTabstopWidget(GetHandle());

	return NIL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movl %esi, 0xc(%rsp)
testl %esi, %esi
sete %r14b
leaq 0x38(%rbx), %r15
xorl %r12d, %r12d
xorl %ebp, %ebp
movb $0x1, %al
testl %ebp, %ebp
jne 0x6e598
leal -0x1(%r12), %ecx
movl 0x40(%rbx), %edx
decl %edx
cmpl %edx, %ecx
jge 0x6e598
movq %r15, %rdi
movl %r12d, %esi
callq 0x71446
movq (%rax), %r13
movl 0xc(%rsp), %eax
cmpl %eax, 0x8(%r13)
jne 0x6e52d
xorl %eax, %eax
movb $0x1, %r14b
jmp 0x6e55e
xorl %eax, %eax
testb $0x1, %r14b
je 0x6e55e
cmpb $0x1, 0xd2(%r13)
jne 0x6e569
movq (%r13), %rax
movq %r13, %rdi
callq *0x98(%rax)
testb %al, %al
je 0x6e569
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movb $0x1, %al
movq %r13, 0x10(%rsp)
jmp 0x6e560
xorl %ebp, %ebp
incl %r12d
testb %al, %al
je 0x6e4f2
jmp 0x6e596
xorl %ebp, %ebp
movq %r13, %rdi
xorl %esi, %esi
callq 0x55fe0
testq %rax, %rax
je 0x6e592
movq %r13, %rdi
xorl %esi, %esi
callq 0x55fe0
movq %rax, 0x10(%rsp)
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movb $0x1, %al
jmp 0x6e560
xorl %eax, %eax
jmp 0x6e560
xorl %eax, %eax
testb %al, %al
movq 0x10(%rsp), %rax
je 0x6e5c7
cmpl $0x0, 0xc(%rsp)
je 0x6e5c5
cmpb $0x0, 0xca(%rbx)
movl $0x0, %eax
je 0x6e5c7
movl 0x8(%rbx), %esi
movq 0x190(%rbx), %rbx
jmp 0x6e4df
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::ComputeTextSize()
S::Void S::GUI::Widget::ComputeTextSize()
{
	scaledTextSize.cx = font.GetScaledTextSizeX(text);
	scaledTextSize.cy = font.GetScaledTextSizeY(text);

	Float	 dpi = Surface().GetSurfaceDPI();

	if (Math::Abs(dpi - 96.0) < 0.1) unscaledTextSize = scaledTextSize;
	else				 unscaledTextSize = scaledTextSize * 96.0 / dpi;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x140(%rdi), %r14
leaq 0xf0(%rdi), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x56730
movl %eax, 0x188(%rbx)
movq %r14, %rdi
movq %r15, %rsi
callq 0x57680
movl %eax, 0x18c(%rbx)
leaq 0x18(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x57150
movq %r14, %rdi
callq 0x58930
cwtl
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
callq 0x57b20
movsd 0x85e8e(%rip), %xmm0    # 0xf44e0
addsd 0x8(%rsp), %xmm0
callq 0x55660
movsd 0x85e83(%rip), %xmm1    # 0xf44e8
ucomisd %xmm0, %xmm1
jbe 0x6e677
movq 0x188(%rbx), %rax
jmp 0x6e757
cvtsi2sdl 0x188(%rbx), %xmm3
movsd 0x85e69(%rip), %xmm4    # 0xf44f0
mulsd %xmm4, %xmm3
xorpd %xmm1, %xmm1
movapd %xmm3, %xmm5
cmpltsd %xmm1, %xmm5
movsd 0x85cf0(%rip), %xmm0    # 0xf4390
movapd %xmm5, %xmm6
andpd %xmm0, %xmm6
movsd 0x85ce8(%rip), %xmm2    # 0xf4398
andnpd %xmm2, %xmm5
orpd %xmm6, %xmm5
addsd %xmm3, %xmm5
cvttsd2si %xmm5, %rax
xorps %xmm3, %xmm3
cvtsi2sdl 0x18c(%rbx), %xmm3
mulsd %xmm4, %xmm3
movapd %xmm3, %xmm4
cmpltsd %xmm1, %xmm4
movapd %xmm4, %xmm5
andpd %xmm0, %xmm5
andnpd %xmm2, %xmm4
orpd %xmm5, %xmm4
addsd %xmm3, %xmm4
cvttsd2si %xmm4, %rcx
xorps %xmm3, %xmm3
cvtsi2sd %eax, %xmm3
movsd 0x8(%rsp), %xmm6
divsd %xmm6, %xmm3
movapd %xmm3, %xmm4
cmpltsd %xmm1, %xmm4
movapd %xmm4, %xmm5
andpd %xmm0, %xmm5
andnpd %xmm2, %xmm4
orpd %xmm5, %xmm4
addsd %xmm3, %xmm4
cvttsd2si %xmm4, %rax
xorps %xmm3, %xmm3
cvtsi2sd %ecx, %xmm3
divsd %xmm6, %xmm3
movapd %xmm3, %xmm4
cmpltsd %xmm1, %xmm4
andpd %xmm4, %xmm0
andnpd %xmm2, %xmm4
orpd %xmm0, %xmm4
addsd %xmm3, %xmm4
cvttsd2si %xmm4, %rcx
shlq $0x20, %rcx
movl %eax, %eax
orq %rcx, %rax
movq %rax, 0x180(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x57b20
movq %rbx, %rdi
callq 0x57090
nop
// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/widget.cpp
// Function: smooth::GUI::Widget::GetRealPosition() const
S::GUI::Point S::GUI::Widget::GetRealPosition() const
{
	if (!registered)  return pos;
	if (realPosValid) return realPos;

	Surface	*surface = GetDrawSurface();

	Point	 containerPos  = container->GetRealPosition();
	Size	 containerSize = container->GetRealSize();
	Point	 scaledPos     = pos * surface->GetSurfaceDPI() / 96.0;

	realPos	= containerPos + scaledPos;

	if (orientation == OR_UPPERRIGHT)
	{
		realPos.x = containerPos.x + containerSize.cx - scaledPos.x;
	}
	else if (orientation == OR_LOWERLEFT)
	{
		realPos.y = containerPos.y + containerSize.cy - scaledPos.y;
	}
	else if (orientation == OR_LOWERRIGHT)
	{
		realPos.x = containerPos.x + containerSize.cx - scaledPos.x;
		realPos.y = containerPos.y + containerSize.cy - scaledPos.y;
	}

	realPosValid = True;

	return realPos;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0x0, 0xca(%rdi)
je 0x6e7e9
cmpb $0x1, 0xc8(%rbx)
jne 0x6e7f8
addq $0xb8, %rbx
jmp 0x6e7f0
addq $0xa8, %rbx
movq %rbx, %rcx
jmp 0x6e96d
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x40(%rax)
movq %rax, %r12
movq 0x190(%rbx), %rdi
movq (%rdi), %rax
callq *0x48(%rax)
movq %rax, %r14
movq %rax, %r13
shrq $0x20, %r13
movq 0x190(%rbx), %rdi
movq (%rdi), %rax
callq *0x50(%rax)
movq %rax, %r15
movq %rax, %rbp
shrq $0x20, %rbp
movq %r12, %rdi
callq 0x58930
cwtl
cvtsi2sd %eax, %xmm3
cvtsi2sdl 0xa8(%rbx), %xmm4
mulsd %xmm3, %xmm4
xorpd %xmm1, %xmm1
movapd %xmm4, %xmm5
cmpltsd %xmm1, %xmm5
movsd 0x85b30(%rip), %xmm0    # 0xf4390
movapd %xmm5, %xmm6
andpd %xmm0, %xmm6
movsd 0x85b28(%rip), %xmm2    # 0xf4398
andnpd %xmm2, %xmm5
orpd %xmm6, %xmm5
addsd %xmm4, %xmm5
cvttsd2si %xmm5, %rax
xorps %xmm4, %xmm4
cvtsi2sdl 0xac(%rbx), %xmm4
mulsd %xmm3, %xmm4
movapd %xmm4, %xmm3
cmpltsd %xmm1, %xmm3
movapd %xmm3, %xmm5
andpd %xmm0, %xmm5
andnpd %xmm2, %xmm3
orpd %xmm5, %xmm3
addsd %xmm4, %xmm3
cvttsd2si %xmm3, %rcx
xorps %xmm3, %xmm3
cvtsi2sd %eax, %xmm3
movsd 0x85c2f(%rip), %xmm4    # 0xf44f0
divsd %xmm4, %xmm3
movapd %xmm3, %xmm5
cmpltsd %xmm1, %xmm5
movapd %xmm5, %xmm6
andpd %xmm0, %xmm6
andnpd %xmm2, %xmm5
orpd %xmm6, %xmm5
addsd %xmm3, %xmm5
cvttsd2si %xmm5, %rax
xorps %xmm3, %xmm3
cvtsi2sd %ecx, %xmm3
divsd %xmm4, %xmm3
movapd %xmm3, %xmm4
cmpltsd %xmm1, %xmm4
andpd %xmm4, %xmm0
andnpd %xmm2, %xmm4
orpd %xmm0, %xmm4
addsd %xmm3, %xmm4
cvttsd2si %xmm4, %rdx
leal (%r14,%rax), %esi
leal (%rdx,%r13), %ecx
shlq $0x20, %rcx
orq %rcx, %rsi
leaq 0xb8(%rbx), %rcx
movq %rsi, 0xb8(%rbx)
movzwl 0xd0(%rbx), %esi
cmpl $0x18, %esi
je 0x6e95b
cmpl $0x28, %esi
je 0x6e94e
cmpl $0x24, %esi
jne 0x6e966
addl %r14d, %r15d
subl %eax, %r15d
movl %r15d, (%rcx)
jmp 0x6e966
addl %r14d, %r15d
subl %eax, %r15d
movl %r15d, 0xb8(%rbx)
addl %r13d, %ebp
subl %edx, %ebp
movl %ebp, 0xbc(%rbx)
movb $0x1, 0xc8(%rbx)
movq (%rcx), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop