// File: /workspace/github_cpp_makefile_star2_O2/disjukr[P]Tetris/Tetris.cc
// Function: Intro::Render()
void Intro::Render() {
    Screen* screen = Console::GetScreen();
    int width = screen -> GetWidth();
    int height = screen -> GetHeight();
    int size = Tetromino::size * 2;
    screen -> Clear(' ', BLACK, WHITE);
    if ((frame % 50) > 25)
        screen -> WriteLine(
            "Press Any Key to Start", (width - 22) >> 1, height - 7);
    for (int i = 0; i < numberOfParticle; ++i){
        Tetromino* particle = particles[i];
        rotations[i] += rotateSpeeds[i];
        if (rotations[i] > 100) {
            if (directions[i])
                particle -> RotateCW();
            else
                particle -> RotateCCW();
            rotations[i] = 0;
        }
        falls[i] += fallSpeeds[i];
        if (falls[i] > 100) {
            ++particle -> y;
            falls[i] = 0;
        }
        if (particle -> y > height) {
            delete particles[i];
            particles[i] = particle = pieceGenerator.Get();
            particle -> x = random.Get(0, width - size);
            particle -> y = -size;
            ResetParticle(i);
        }
        particle -> Render(*screen, particle -> x, particle -> y);
    }
    RenderTitle((width - titleWidth) >> 1, 6);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
callq 0x6580
movq %rax, %r15
movq %rax, %rdi
callq 0x62aa
movl %eax, %r13d
movq %r15, %rdi
callq 0x62b2
movl %eax, %r12d
pushq $0x20
popq %rsi
pushq $0x3
popq %rdx
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x64ec
movl 0xc(%rbx), %eax
pushq $0x32
popq %rcx
cltd
idivl %ecx
cmpl $0x1a, %edx
jl 0x3905
leaq 0x39f5(%rip), %rsi      # 0x72c7
leaq -0x68(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x3090
movq %r13, %r14
leal -0x16(%r13), %edx
sarl %edx
leal -0x7(%r12), %ecx
movq %r15, %rdi
leaq -0x68(%rbp), %rsi
callq 0x632e
leaq -0x68(%rbp), %rdi
callq 0x30b0
movq %r14, %r13
leaq 0x30(%rbx), %rax
movq %rax, -0x48(%rbp)
leaq 0x18(%rbx), %rax
movq %rax, -0x40(%rbp)
movq %r13, -0x38(%rbp)
leal -0x8(%r13), %eax
movl %eax, -0x30(%rbp)
xorl %r14d, %r14d
cmpq $0xa, %r14
je 0x3a0e
movq 0x80(%rbx,%r14,8), %r13
movl 0xd0(%rbx,%r14,4), %eax
addl 0xf8(%rbx,%r14,4), %eax
movl %eax, 0xd0(%rbx,%r14,4)
cmpl $0x65, %eax
jl 0x3972
movzbl 0x170(%rbx,%r14), %eax
movq (%r13), %rcx
xorl $0x1, %eax
movq %r13, %rdi
callq *0x18(%rcx,%rax,8)
andl $0x0, 0xd0(%rbx,%r14,4)
movl 0x120(%rbx,%r14,4), %eax
addl 0x148(%rbx,%r14,4), %eax
movl %eax, 0x120(%rbx,%r14,4)
cmpl $0x65, %eax
jl 0x399c
incl 0x10(%r13)
andl $0x0, 0x120(%rbx,%r14,4)
movl 0x10(%r13), %ecx
cmpl %r12d, %ecx
jle 0x39f5
movq 0x80(%rbx,%r14,8), %rdi
testq %rdi, %rdi
je 0x39b8
movq (%rdi), %rax
callq *0x8(%rax)
movq -0x48(%rbp), %rdi
callq 0x5982
movq %rax, %r13
movq %rax, 0x80(%rbx,%r14,8)
movq -0x40(%rbp), %rdi
xorl %esi, %esi
movl -0x30(%rbp), %edx
callq 0x57dc
movl %eax, 0xc(%r13)
movl $0xfffffff8, 0x10(%r13) # imm = 0xFFFFFFF8
movq %rbx, %rdi
movl %r14d, %esi
callq 0x3744
movl 0x10(%r13), %ecx
movl 0xc(%r13), %edx
movq (%r13), %rax
movq %r13, %rdi
movq %r15, %rsi
callq *0x30(%rax)
incq %r14
jmp 0x3923
movq -0x38(%rbp), %rsi
addl $-0x40, %esi
sarl %esi
pushq $0x6
popq %rdx
movq %rbx, %rdi
callq 0x3a46
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
callq 0x30b0
movq %rbx, %rdi
callq 0x3230
nop