// File: /workspace/github_cpp_makefile_star2_O1/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 0x82cf(%rip), %rax      # 0xb890
movq %rax, (%rdi)
leaq 0x18(%rdi), %r15
leaq 0x83e9(%rip), %rax      # 0xb9b8
movq %rax, 0x18(%rdi)
movq %r15, %rdi
movl $0xabcdef, %esi         # imm = 0xABCDEF
callq 0x58ec
leaq 0x30(%r14), %rdi
movq %rdi, -0x38(%rbp)
callq 0x605e
callq 0x6f80
movq %rax, %rbx
movq %rax, %rdi
callq 0x6a6a
movl %eax, -0x2c(%rbp)
movq %r14, -0x40(%rbp)
movq %rbx, %rdi
callq 0x6a72
movl %eax, %r13d
addl $-0x8, -0x2c(%rbp)
xorl %ebx, %ebx
movq -0x38(%rbp), %rdi
callq 0x610e
movq %rax, %r12
movq %r15, %rdi
xorl %esi, %esi
movl -0x2c(%rbp), %edx
callq 0x5f00
movl %eax, 0xc(%r12)
movq %r15, %rdi
xorl %esi, %esi
movl %r13d, %edx
callq 0x5f00
subl %r13d, %eax
addl $-0x8, %eax
movl %eax, 0x10(%r12)
movq %r15, %rdi
xorl %esi, %esi
movl $0x4, %edx
callq 0x5f00
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 0x378e
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 0x5c0e
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), %rax
xorl %ecx, %ecx
movq -0x40(%rbp), %rdx
cmpb $0x7c, (%rax,%rcx)
sete 0x17a(%rdx,%rcx)
incq %rcx
cmpq $0x1c0, %rcx            # imm = 0x1C0
jne 0x3725
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x374b
callq 0x3110
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3779
jmp 0x3779
jmp 0x3779
jmp 0x3779
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x377c
callq 0x3110
jmp 0x377c
jmp 0x3779
jmp 0x3779
movq %rax, %rbx
movq -0x38(%rbp), %rdi
callq 0x60d4
movq %rbx, %rdi
callq 0x3220
nop