// File: /workspace/github_cpp_makefile_star2_O2/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, %rbx
movb $0x0, 0x8(%rdi)
movabsq $0x1100000000, %rax     # imm = 0x1100000000
movq %rax, 0xc(%rdi)
leaq 0x7341(%rip), %rax      # 0xa8d8
movq %rax, (%rdi)
leaq 0x18(%rdi), %r15
movq %r15, %rdi
callq 0x4e9c
movq %rbx, -0x40(%rbp)
leaq 0x30(%rbx), %rdi
movq %rdi, -0x38(%rbp)
callq 0x5900
callq 0x6580
movq %rax, %rbx
movq %rax, %rdi
callq 0x62aa
movl %eax, -0x30(%rbp)
movq %rbx, %rdi
callq 0x62b2
movl %eax, %r13d
addl $-0x8, -0x30(%rbp)
xorl %ebx, %ebx
cmpq $0xa, %rbx
je 0x3656
movq -0x38(%rbp), %rdi
callq 0x5982
movq %rax, %r12
movq %r15, %rdi
xorl %esi, %esi
movl -0x30(%rbp), %edx
callq 0x57dc
movl %eax, 0xc(%r12)
movq %r15, %rdi
xorl %esi, %esi
movl %r13d, %edx
callq 0x57dc
subl %r13d, %eax
addl $-0x8, %eax
movl %eax, 0x10(%r12)
movq %r15, %rdi
xorl %esi, %esi
pushq $0x4
popq %rdx
callq 0x57dc
movl %eax, %r14d
incl %r14d
decl %r14d
testl %r14d, %r14d
jle 0x363e
movq (%r12), %rax
movq %r12, %rdi
callq *0x18(%rax)
jmp 0x362a
movq -0x40(%rbp), %rdi
movq %r12, 0x80(%rdi,%rbx,8)
movl %ebx, %esi
callq 0x3744
incq %rbx
jmp 0x35db
leaq 0x3b65(%rip), %rsi      # 0x71c2
leaq -0x60(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x3090
leaq 0x3a8f(%rip), %rsi      # 0x7100
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x3ac0(%rip), %rsi      # 0x7141
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x3af1(%rip), %rsi      # 0x7182
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x3b22(%rip), %rsi      # 0x71c3
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x3b53(%rip), %rsi      # 0x7204
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x3b84(%rip), %rsi      # 0x7245
leaq -0x60(%rbp), %rdi
callq 0x3240
leaq 0x3bb5(%rip), %rsi      # 0x7286
leaq -0x60(%rbp), %rdi
callq 0x3240
movq -0x60(%rbp), %rax
xorl %ecx, %ecx
movq -0x40(%rbp), %rdx
cmpq $0x1c0, %rcx            # imm = 0x1C0
je 0x36fe
cmpb $0x7c, (%rax,%rcx)
sete 0x17a(%rdx,%rcx)
incq %rcx
jmp 0x36e4
leaq -0x60(%rbp), %rdi
callq 0x30b0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3730
jmp 0x3730
jmp 0x3730
jmp 0x3730
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x30b0
jmp 0x3733
jmp 0x3730
jmp 0x3730
movq %rax, %rbx
movq -0x38(%rbp), %rdi
callq 0x5950
movq %rbx, %rdi
callq 0x3230