// File: /workspace/github_cpp_makefile_star2_O3/disjukr[P]Tetris/Tetris.cc
// Function: Intro::Intro()
Intro::Intro() {
    Screen* screen = Console::GetScreen();
    int width = screen -> GetWidth();
    int height = screen -> GetHeight();
    int size = Tetromino::size * 2;
    for (int i = 0; i < numberOfParticle; ++i) {
        Tetromino* particle = pieceGenerator.Get();
        particle -> x = random.Get(0, width - size);
        particle -> y = random.Get(0, height) - (height + size);
        int rotate = random.Get(0, 4);
        while (rotate > 0) {
            --rotate;
            particle -> RotateCW();
        }
        particles[i] = particle;
        ResetParticle(i);
    }
    string t = "";
    t += "||||||||    ||||||||    ||||||||    |||||||     ||||     |||||||";
    t += "||||||||    ||||||||    ||||||||    ||||||||    ||||    ||||||||";
    t += "   ||       ||             ||       ||    ||     ||     ||||    ";
    t += "   ||       ||||||         ||       ||    ||     ||      |||||| ";
    t += "   ||       ||             ||       |||||||      ||         ||||";
    t += "  ||||      ||||||||      ||||      |||  |||    ||||    ||||||||";
    t += "  ||||      ||||||||      ||||      |||  |||    ||||    ||||||| ";
    for (int i = 0; i < titleTableSize; ++i)
        titleTable[i] = t[i] == '|';
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r14
movb $0x0, 0x8(%rdi)
movabsq $0x1100000000, %rax     # imm = 0x1100000000
movq %rax, 0xc(%rdi)
leaq 0x8317(%rip), %rax      # 0xb8d8
movq %rax, (%rdi)
leaq 0x18(%rdi), %r15
leaq 0x8431(%rip), %rax      # 0xba00
movq %rax, 0x18(%rdi)
movq %r15, %rdi
movl $0xabcdef, %esi         # imm = 0xABCDEF
callq 0x5874
leaq 0x30(%r14), %rdi
movq %rdi, -0x38(%rbp)
callq 0x5fe6
callq 0x6eac
movq %rax, %rbx
movq %rax, %rdi
callq 0x698a
movl %eax, -0x2c(%rbp)
movq %r14, -0x40(%rbp)
movq %rbx, %rdi
callq 0x6992
movl %eax, %r13d
addl $-0x8, -0x2c(%rbp)
xorl %ebx, %ebx
movq -0x38(%rbp), %rdi
callq 0x6096
movq %rax, %r12
movq %r15, %rdi
xorl %esi, %esi
movl -0x2c(%rbp), %edx
callq 0x5e98
movl %eax, 0xc(%r12)
movq %r15, %rdi
xorl %esi, %esi
movl %r13d, %edx
callq 0x5e98
subl %r13d, %eax
addl $-0x8, %eax
movl %eax, 0x10(%r12)
movq %r15, %rdi
xorl %esi, %esi
movl $0x4, %edx
callq 0x5e98
movl %eax, %r14d
incl %r14d
decl %r14d
testl %r14d, %r14d
jle 0x3674
movq (%r12), %rax
movq %r12, %rdi
callq *0x18(%rax)
jmp 0x3660
movq -0x40(%rbp), %rdi
movq %r12, 0x80(%rdi,%rbx,8)
movl %ebx, %esi
callq 0x3788
incq %rbx
cmpq $0xa, %rbx
jne 0x3615
leaq -0x50(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x4b23(%rip), %rdx      # 0x81c2
leaq -0x60(%rbp), %rdi
movq %rdx, %rsi
callq 0x5b96
leaq 0x4a4e(%rip), %rsi      # 0x8100
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x4a7f(%rip), %rsi      # 0x8141
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x4ab0(%rip), %rsi      # 0x8182
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x4ae1(%rip), %rsi      # 0x81c3
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x4b12(%rip), %rsi      # 0x8204
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x4b43(%rip), %rsi      # 0x8245
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x4b74(%rip), %rsi      # 0x8286
leaq -0x60(%rbp), %rdi
callq 0x3240
movq -0x60(%rbp), %rdi
xorl %eax, %eax
movq -0x40(%rbp), %rcx
cmpb $0x7c, (%rdi,%rax)
sete 0x17a(%rcx,%rax)
incq %rax
cmpq $0x1c0, %rax            # imm = 0x1C0
jne 0x3725
cmpq %r14, %rdi
je 0x3746
callq 0x3110
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3774
jmp 0x3774
jmp 0x3774
jmp 0x3774
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x3777
callq 0x3110
jmp 0x3777
jmp 0x3774
jmp 0x3774
movq %rax, %rbx
movq -0x38(%rbp), %rdi
callq 0x605c
movq %rbx, %rdi
callq 0x3220