// File: /workspace/github_c_makefile_star2_O3/enzo1982[P]smooth/classes/gui/widgets/basic/groupbox.cpp
// Function: smooth::GUI::GroupBox::Hide()
S::Int S::GUI::GroupBox::Hide()
{
	if (IsRegistered() && IsVisible())
	{
		Surface	*surface = GetDrawSurface();

		surface->Box(Rect(GetRealPosition() - Point(0, 6) * surface->GetSurfaceDPI() / 96.0, GetRealSize() + Size(0, 6) * surface->GetSurfaceDPI() / 96.0), Setup::BackgroundColor, Rect::Filled);
	}

	return Layer::Hide();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x88(%rax)
testb %al, %al
je 0x773d3
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x90(%rax)
testb %al, %al
je 0x773d3
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x40(%rax)
movq %rax, %r14
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x48(%rax)
movq %rax, %r15
movq %rax, %r13
shrq $0x20, %r13
movq %r14, %rdi
callq 0x58930
cwtl
cvtsi2sd %eax, %xmm0
movapd %xmm0, %xmm1
andpd 0x7c2b4(%rip), %xmm1    # 0xf34b0
movsd 0x7c194(%rip), %xmm2    # 0xf3398
addsd %xmm2, %xmm1
movapd %xmm2, %xmm5
cvttsd2si %xmm1, %rax
mulsd 0x7ecbf(%rip), %xmm0    # 0xf5ed8
xorpd %xmm2, %xmm2
movapd %xmm0, %xmm1
cmpltsd %xmm2, %xmm1
xorpd %xmm4, %xmm4
movsd 0x7c15e(%rip), %xmm3    # 0xf3390
movapd %xmm1, %xmm2
andpd %xmm3, %xmm2
andnpd %xmm5, %xmm1
movapd %xmm5, %xmm6
orpd %xmm2, %xmm1
addsd %xmm0, %xmm1
cvttsd2si %xmm1, %rcx
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd 0x7c45a(%rip), %xmm1    # 0xf36b8
divsd %xmm1, %xmm0
movapd %xmm1, %xmm5
movapd %xmm0, %xmm1
cmpltsd %xmm4, %xmm1
movapd %xmm1, %xmm2
andpd %xmm3, %xmm2
andnpd %xmm6, %xmm1
orpd %xmm2, %xmm1
addsd %xmm0, %xmm1
cvttsd2si %xmm1, %rax
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
divsd %xmm5, %xmm0
movapd %xmm0, %xmm1
cmpltsd %xmm4, %xmm1
movapd %xmm1, %xmm2
andpd %xmm3, %xmm2
andnpd %xmm6, %xmm1
orpd %xmm2, %xmm1
addsd %xmm0, %xmm1
cvttsd2si %xmm1, %rcx
subl %eax, %r15d
subl %ecx, %r13d
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x50(%rax)
movq %rax, %r12
movq %rax, %rbp
shrq $0x20, %rbp
movq %r14, %rdi
callq 0x58930
cwtl
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movapd 0x7c1ca(%rip), %xmm1    # 0xf34b0
andpd %xmm0, %xmm1
movsd 0x7c0a6(%rip), %xmm3    # 0xf3398
addsd %xmm3, %xmm1
cvttsd2si %xmm1, %rax
mulsd 0x7ebd5(%rip), %xmm0    # 0xf5ed8
movapd %xmm0, %xmm1
xorpd %xmm4, %xmm4
cmpltsd %xmm4, %xmm1
movapd %xmm1, %xmm2
movsd 0x7c074(%rip), %xmm5    # 0xf3390
andpd %xmm5, %xmm2
andnpd %xmm3, %xmm1
orpd %xmm2, %xmm1
addsd %xmm0, %xmm1
cvttsd2si %xmm1, %rcx
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd 0x7c378(%rip), %xmm6    # 0xf36b8
divsd %xmm6, %xmm0
movapd %xmm0, %xmm1
cmpltsd %xmm4, %xmm1
movapd %xmm1, %xmm2
andpd %xmm5, %xmm2
andnpd %xmm3, %xmm1
orpd %xmm2, %xmm1
addsd %xmm0, %xmm1
cvttsd2si %xmm1, %rax
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
divsd %xmm6, %xmm0
movapd %xmm0, %xmm1
cmpltsd %xmm4, %xmm1
movapd %xmm5, %xmm2
andpd %xmm1, %xmm2
andnpd %xmm3, %xmm1
orpd %xmm2, %xmm1
addsd %xmm0, %xmm1
cvttsd2si %xmm1, %rcx
addl %eax, %r12d
leaq 0x8(%rsp), %rsi
movl %r15d, (%rsi)
movl %r13d, 0x4(%rsi)
addl %r15d, %r12d
movl %r12d, 0x8(%rsi)
addl %ebp, %ecx
addl %r13d, %ecx
movl %ecx, 0xc(%rsi)
movq 0xf4bf0(%rip), %rax     # 0x16bfa8
movl (%rax), %ecx
movq %rsp, %r8
movq $0x0, (%r8)
movq 0xf4105(%rip), %rdx     # 0x16b4d0
movq %r14, %rdi
callq 0x57930
movq %rbx, %rdi
callq 0x55600
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop