// File: /workspace/github_c_makefile_star2_O0/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdInfo
int _cmdInfo( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 0;
    char *s, strOut[256];
    double botDiff;
    int botMin, botMax;

    strclr( strOut );

    // get bot counts and difficulty 
    //
    s = apiGameModePropertyGet( "minimumenemies" ); 
    strlcat( strOut, s, 256 );
    s = apiGameModePropertyGet( "maximumenemies" ); 
    strlcat( strOut, ":", 256 );  strlcat( strOut, s, 256 );
    s = apiGameModePropertyGet( "aidifficulty" ); 
    strlcat( strOut, ":", 256 );  strlcat( strOut, s, 256 );

    if ( 3 == sscanf( strOut, "%d:%d:%lf", &botMin, &botMax, &botDiff )) {
        if ( botMin != botMax ) 
            apiSaySys("AI scaled count %d:%d Difficulty %6.3lf", botMin*2, botMax*2, botDiff*10.0 );
        else
            apiSaySys("AI fixed count %d Difficulty %6.3lf", botMax*2, botDiff*10.0 );
    }
    else {
        apiSaySys( "Retrieval error ::%s::", strOut );
    }
    if (apiBPIsActive()) { 
        apiSaySys( "%d of %d players alive", apiBPPlayerCount(), apiPlayersGetCount());
    }


    return errCode; 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
leaq -0x130(%rbp), %rdi
callq 0x122b0
leaq 0x17842(%rip), %rdi     # 0x23a43
callq 0x17720
movq %rax, -0x28(%rbp)
leaq -0x130(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl $0x100, %edx            # imm = 0x100
callq 0x11aa0
leaq 0x1782c(%rip), %rdi     # 0x23a52
callq 0x17720
movq %rax, -0x28(%rbp)
leaq -0x130(%rbp), %rdi
leaq 0x19c58(%rip), %rsi     # 0x25e95
movl $0x100, %edx            # imm = 0x100
callq 0x11aa0
leaq -0x130(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl $0x100, %edx            # imm = 0x100
callq 0x11aa0
leaq 0x17843(%rip), %rdi     # 0x23aa6
callq 0x17720
movq %rax, -0x28(%rbp)
leaq -0x130(%rbp), %rdi
leaq 0x19c1b(%rip), %rsi     # 0x25e95
movl $0x100, %edx            # imm = 0x100
callq 0x11aa0
leaq -0x130(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl $0x100, %edx            # imm = 0x100
callq 0x11aa0
leaq -0x130(%rbp), %rdi
leaq 0x17b31(%rip), %rsi     # 0x23dd8
leaq -0x13c(%rbp), %rdx
leaq -0x140(%rbp), %rcx
leaq -0x138(%rbp), %r8
movb $0x0, %al
callq 0x82c0
movl %eax, %ecx
movl $0x3, %eax
cmpl %ecx, %eax
jne 0xc334
movl -0x13c(%rbp), %eax
cmpl -0x140(%rbp), %eax
je 0xc30c
movl -0x13c(%rbp), %esi
shll %esi
movl -0x140(%rbp), %edx
shll %edx
movsd 0x173f4(%rip), %xmm0    # 0x236e8
mulsd -0x138(%rbp), %xmm0
leaq 0x17adf(%rip), %rdi     # 0x23de2
movb $0x1, %al
callq 0x17af0
jmp 0xc332
movl -0x140(%rbp), %esi
shll %esi
movsd 0x173cc(%rip), %xmm0    # 0x236e8
mulsd -0x138(%rbp), %xmm0
leaq 0x17adf(%rip), %rdi     # 0x23e0a
movb $0x1, %al
callq 0x17af0
jmp 0xc349
leaq -0x130(%rbp), %rsi
leaq 0x17aec(%rip), %rdi     # 0x23e2e
movb $0x0, %al
callq 0x17af0
callq 0x15420
cmpl $0x0, %eax
je 0xc379
callq 0x15430
movl %eax, -0x144(%rbp)
callq 0x17fe0
movl -0x144(%rbp), %esi
movl %eax, %edx
leaq 0x17ad3(%rip), %rdi     # 0x23e45
movb $0x0, %al
callq 0x17af0
movl -0x1c(%rbp), %eax
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
nopw %cs:(%rax,%rax)