LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdBotDifficulty
int _cmdBotDifficulty( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 1;
    char strOut[256];
    double botDifficultyF;

    if (1 == sscanf( arg, "%lf", &botDifficultyF )) {
         
        if ( botDifficultyF >= 9.9 ) botDifficultyF = 9.9;     // workaround for system bug (?)

        if ((botDifficultyF <= 10.0) && (botDifficultyF >= 0.0)) {
           botDifficultyF /= 10.0;
           snprintf( strOut, 256, "%6.3lf", botDifficultyF);
           apiGameModePropertySet( "aidifficulty", strOut );
           p2pSetL( "picladmin.p2p.botAdminControlDifficulty", 1L );   // flag as admin control
           errCode = 0;
        }
    }

    _stddResp( errCode );   // ok or error message to game

    return errCode;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
leaq 0x12b97(%rip), %rsi     # 0x1d098
leaq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0x82d0
leaq 0x2b830(%rip), %r14     # 0x35d44
movl $0x1, %ebx
cmpl $0x1, %eax
jne 0xa5b3
movsd 0x8(%rsp), %xmm0
ucomisd 0x111a0(%rip), %xmm0    # 0x1b6d0
jb 0xa549
movabsq $0x4023cccccccccccd, %rax # imm = 0x4023CCCCCCCCCCCD
movq %rax, 0x8(%rsp)
movsd 0x11187(%rip), %xmm0    # 0x1b6d0
movsd 0x11187(%rip), %xmm1    # 0x1b6d8
ucomisd %xmm0, %xmm1
jb 0xa5b3
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xa5b3
divsd 0x1116f(%rip), %xmm0    # 0x1b6d8
movsd %xmm0, 0x8(%rsp)
leaq 0x118a9(%rip), %rdx     # 0x1be1f
leaq 0x10(%rsp), %rbx
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdi
movb $0x1, %al
callq 0x8190
leaq 0x1150d(%rip), %rdi     # 0x1ba9e
movq %rbx, %rsi
callq 0x131ed
leaq 0x1150b(%rip), %rdi     # 0x1baab
movl $0x1, %esi
callq 0x180a5
leaq 0x2a393(%rip), %r14     # 0x34944
xorl %ebx, %ebx
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movslq %eax, %rdi
shlq $0xa, %rdi
addq %r14, %rdi
xorl %eax, %eax
callq 0x134e5
movl %ebx, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdKillFeed
int _cmdKillFeed( char *arg, char *arg2, char *passThru  ) 
{ 
    int errCode = 0;

    if (0 == strcmp( "off", arg )) 
        apiGameModePropertySet( "bKillFeed", "false" );
    else if (0 == strcmp( "on", arg )) 
        apiGameModePropertySet( "bKillFeed", "true" );
    else 
        errCode = 1;

    _stddResp( errCode );   // ok or error message to game

    return errCode;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x1117b(%rip), %rdi     # 0x1b77a
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa634
movzbl (%rbx), %eax
subl $0x6f, %eax
jne 0xa620
movzbl 0x1(%rbx), %eax
subl $0x6e, %eax
jne 0xa620
movzbl 0x2(%rbx), %eax
negl %eax
testl %eax, %eax
je 0xa63d
leaq 0x2b717(%rip), %r14     # 0x35d44
movl $0x1, %ebx
jmp 0xa659
leaq 0x114a2(%rip), %rsi     # 0x1badd
jmp 0xa644
leaq 0x1149f(%rip), %rsi     # 0x1bae3
leaq 0x11488(%rip), %rdi     # 0x1bad3
callq 0x131ed
leaq 0x2a2ed(%rip), %r14     # 0x34944
xorl %ebx, %ebx
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movslq %eax, %rdi
shlq $0xa, %rdi
addq %r14, %rdi
xorl %eax, %eax
callq 0x134e5
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdFriendlyFire
int _cmdFriendlyFire( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 0;

    if (0 == strcmp( "off", arg )) 
        apiGameModePropertySet( "bAllowFriendlyFire", "false" );
    else if (0 == strcmp( "on", arg )) 
        apiGameModePropertySet( "bAllowFriendlyFire", "true" );
    else 
        errCode = 1;

    _stddResp( errCode );   // ok or error message to game

    return errCode;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x110d8(%rip), %rdi     # 0x1b77a
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa6d7
movzbl (%rbx), %eax
subl $0x6f, %eax
jne 0xa6c3
movzbl 0x1(%rbx), %eax
subl $0x6e, %eax
jne 0xa6c3
movzbl 0x2(%rbx), %eax
negl %eax
testl %eax, %eax
je 0xa6e0
leaq 0x2b674(%rip), %r14     # 0x35d44
movl $0x1, %ebx
jmp 0xa6fc
leaq 0x113ff(%rip), %rsi     # 0x1badd
jmp 0xa6e7
leaq 0x113fc(%rip), %rsi     # 0x1bae3
leaq 0x113fa(%rip), %rdi     # 0x1bae8
callq 0x131ed
leaq 0x2a24a(%rip), %r14     # 0x34944
xorl %ebx, %ebx
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movslq %eax, %rdi
shlq $0xa, %rdi
addq %r14, %rdi
xorl %eax, %eax
callq 0x134e5
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdRestart
int _cmdRestart( char *arg, char *arg2, char *passThru  ) 
{
    char cmdOut[256], statusIn[256];
    int errCode = 0;

    strlcpy( cmdOut, "restartround 0", 256 );
    if (0 == strcmp( "now", arg )) 
        apiRcon( cmdOut, statusIn );
    else 
        errCode = 1;

    _stddResp( errCode );   // ok or error message to game

    return errCode;
}

// Assembly:
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rdi, %rsi
movabsq $0x7274726174736572, %rax # imm = 0x7274726174736572
movq %rax, (%rsp)
movabsq $0x3020646e756f72, %rax # imm = 0x3020646E756F72
movq %rax, 0x7(%rsp)
leaq 0x113a4(%rip), %rdi     # 0x1bb0a
callq 0x8220
testl %eax, %eax
je 0xa7b5
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x2a1a4(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
xorl %eax, %eax
callq 0x134e5
movl $0x1, %ebx
jmp 0xa803
movq %rsp, %rdi
leaq 0x100(%rsp), %rsi
callq 0x13827
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x2a14e(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x4, %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x134e5
movl %ebx, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdEnd
int _cmdEnd( char *arg, char *arg2, char *passThru ) 
{ 
    char cmdOut[256], statusIn[256];
    int errCode = 0; 

    strlcpy( cmdOut, "restartround 2", 256 );
    if (0 == strcmp( "now", arg )) 
        apiRcon( cmdOut, statusIn );
    else 
        errCode = 1;

    _stddResp( errCode );   // ok or error message to game

    return errCode;
}

// Assembly:
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rdi, %rsi
movabsq $0x7274726174736572, %rax # imm = 0x7274726174736572
movq %rax, (%rsp)
movabsq $0x3220646e756f72, %rax # imm = 0x3220646E756F72
movq %rax, 0x7(%rsp)
leaq 0x112cd(%rip), %rdi     # 0x1bb0a
callq 0x8220
testl %eax, %eax
je 0xa88c
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x2a0cd(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
xorl %eax, %eax
callq 0x134e5
movl $0x1, %ebx
jmp 0xa8da
movq %rsp, %rdi
leaq 0x100(%rsp), %rsi
callq 0x13827
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x2a077(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x4, %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x134e5
movl %ebx, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdReboot
int _cmdReboot( char *arg, char *arg2, char *passThru  ) 
{ 
    int errCode = 0;

    // Cancel any pending reboot request
    //
    if (0 == strcmp( "cancel", arg ))   {
        if (_queueReboot != REBOOT_CANCEL) apiSaySys( "Commanded server reboot is cancelled." );
        _queueReboot = REBOOT_CANCEL;
    }

    // special 0-player case - is a reboot now/eog/eor issued from RCON while the
    // server is empty -- do an immediately reboot.
    //
    else if (0 == strcmp( "now", arg ) || (0 == apiPlayersGetCount() ))   {
        apiSaySys( "*Server is REBOOTING - please reconnect" );
        apiServerRestart( "Server Admin Reboot" );
        _queueReboot = REBOOT_CANCEL;
    }

    // End of Game reboot - queue it and wait for EOG event
    //
    else if (0 == strcmp( "eog", arg ))  {
       _queueReboot = REBOOT_EOG;
       apiSaySys( "This server will reboot at end of this game" );
    }

    // End of Round reboot - queue it and wait for EOR event
    //
    else if (0 == strcmp( "eor", arg ))  {
        _queueReboot = REBOOT_EOR;
        apiSaySys( "This server will reboot at end of this round" );
    }
    else 
        errCode = 1;

    _stddResp( errCode );   // ok or error message to game

    return errCode;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x1122a(%rip), %rdi     # 0x1bb1d
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa97a
leaq 0x11204(%rip), %rdi     # 0x1bb0a
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa952
callq 0x13853
testl %eax, %eax
je 0xa952
leaq 0x11264(%rip), %rdi     # 0x1bb86
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa9a6
leaq 0x12269(%rip), %rdi     # 0x1cb9e
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa9b9
leaq 0x2b3fc(%rip), %r14     # 0x35d44
movl $0x1, %ebx
jmp 0xa9da
leaq 0x111f1(%rip), %rdi     # 0x1bb4a
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x134e5
leaq 0x11209(%rip), %rdi     # 0x1bb72
callq 0x13062
movl $0x0, 0x533e4(%rip)     # 0x5dd5c
jmp 0xa9d3
cmpl $0x0, 0x533db(%rip)     # 0x5dd5c
je 0xa991
leaq 0x1119a(%rip), %rdi     # 0x1bb24
xorl %eax, %eax
callq 0x134e5
movl $0x0, 0x533c1(%rip)     # 0x5dd5c
leaq 0x29fa2(%rip), %r14     # 0x34944
xorl %ebx, %ebx
jmp 0xa9da
movl $0x2, 0x533ac(%rip)     # 0x5dd5c
leaq 0x111d3(%rip), %rdi     # 0x1bb8a
jmp 0xa9ca
movl $0x1, 0x53399(%rip)     # 0x5dd5c
leaq 0x111ec(%rip), %rdi     # 0x1bbb6
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x134e5
leaq 0x29f6a(%rip), %r14     # 0x34944
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movslq %eax, %rdi
shlq $0xa, %rdi
addq %r14, %rdi
xorl %eax, %eax
callq 0x134e5
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdEndGame
int _cmdEndGame( char *arg, char *arg2, char *passThru  ) 
{ 
    int errCode = 0;
    char cmdOut[256], statusIn[256];

    if (0 == strcmp( "now", arg ))  {
        apiSaySys( "*Forcing Game End*" );
        apiGameModePropertySet( "PreRoundTime", "1" );
        apiGameModePropertySet( "RoundLimit",   "1" );
        apiGameModePropertySet( "RoundTIme",    "1" );
        strlcpy( cmdOut, "restartround 0", 256 );
        apiRcon( cmdOut, statusIn );
    }
    else {
        apiSaySys( "Specify 'now' to end the game" );
        errCode = 1;
    }

    _stddResp( errCode );   // ok or error message to game

    return errCode;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdi, %rsi
leaq 0x110e1(%rip), %rdi     # 0x1bb0a
callq 0x8220
testl %eax, %eax
je 0xaa89
leaq 0x111df(%rip), %rdi     # 0x1bc18
xorl %eax, %eax
callq 0x134e5
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x29ed3(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
xorl %eax, %eax
callq 0x134e5
movl $0x1, %ebx
jmp 0xab34
leaq 0x11153(%rip), %rdi     # 0x1bbe3
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x134e5
leaq 0x11156(%rip), %rdi     # 0x1bbf6
leaq 0x1066d(%rip), %r14     # 0x1b114
movq %r14, %rsi
callq 0x131ed
leaq 0x1114d(%rip), %rdi     # 0x1bc03
movq %r14, %rsi
callq 0x131ed
leaq 0x11149(%rip), %rdi     # 0x1bc0e
movq %r14, %rsi
callq 0x131ed
movabsq $0x7274726174736572, %rax # imm = 0x7274726174736572
leaq 0x100(%rsp), %rdi
movq %rax, (%rdi)
movabsq $0x3020646e756f72, %rax # imm = 0x3020646E756F72
movq %rax, 0x7(%rdi)
movq %rsp, %rsi
callq 0x13827
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x29e1b(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x4, %rdi
xorl %eax, %eax
callq 0x134e5
movl %ebx, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdBanId
int _cmdBanId( char *arg, char *arg2, char *passThru  ) 
{ 
    int errCode = 1;
    char cmdOut[256], statusIn[256];

    if ( rosterIsValidGUID( arg ) ) {
        snprintf( cmdOut, 256, "banid \"%s\" 0 \"%s\"", arg, _reason( passThru ) );
        apiRcon( cmdOut, statusIn );
        apiSay( statusIn );
        errCode = 0;
    }

    if ( errCode != 0 ) _stddResp( errCode );   // ok or error message to game

    return errCode; 
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rdx, %rbx
movq %rdi, %r14
callq 0x14378
testl %eax, %eax
je 0xaba8
movq %rbx, %rdi
callq 0xabfb
leaq 0x110cb(%rip), %rdx     # 0x1bc36
leaq 0x533fe(%rip), %r8      # 0x5df70
xorl %ebx, %ebx
leaq 0x100(%rsp), %r15
movl $0x100, %esi            # imm = 0x100
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x8190
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x13827
movq %r14, %rdi
xorl %eax, %eax
callq 0x13337
jmp 0xabec
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x29d6b(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
xorl %eax, %eax
callq 0x134e5
movl $0x1, %ebx
movl %ebx, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: reason
static char *_reason( char *rawLine )
{
    char *p1 = NULL, *p3 = NULL;
    int   i, spaceCount = 0;
    static char outReason[ 256 ];

    // Parse and look for "reason" string from what was typed by 
    // admin at console.  
    //
    p3 = & rawLine[ strlen( rawLine ) ];
    for (i=0; i< (int) strlen( rawLine ); i++) {
        if ( rawLine[i] == ' ' ) spaceCount++;
        if ( spaceCount == 2 ) {
            p3 = & rawLine[ i+1 ];
            break;
        }
    }
    strlcpy( outReason, p3, 256 );

    // if the 'reason' was one of shortcut preset 'canned' reasons
    // e.g., 'rush', 'afk', 'tk', etc.  then replace it with the 
    // longer explanation.
    //
    for ( i=0; i<NUM_REASONS; i++ ) {
        p1 = getWord( picladminConfig.reason[i], 0, "\007" ) ;
        if ( p1 != NULL ) { 
            if ( 0 == strcmp( p1, p3 ) ) {  // replace if exact match to preset reasons
                strlcpy( outReason, getWord( picladminConfig.reason[i], 1, "\007" ), 256);
                break;
            }
        }
    }

    // replace double quotes with a single quote
    //
    for ( i=0; i< (int) strlen(outReason); i++ ) {
        if ( outReason[i] == 0x22 ) outReason[i] = 0x27;
    }

    return( outReason );
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r14
callq 0x8120
leaq (%r14,%rax), %rbx
testl %eax, %eax
jle 0xac3e
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
incq %r14
xorl %ecx, %ecx
movl %ecx, %edx
xorl %ecx, %ecx
cmpb $0x20, -0x1(%r14)
sete %cl
addl %edx, %ecx
cmpl $0x2, %ecx
je 0xac3b
incq %r14
decq %rax
jne 0xac1e
jmp 0xac3e
movq %r14, %rbx
leaq 0x5332b(%rip), %rdi     # 0x5df70
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rsi
callq 0xf384
xorl %r12d, %r12d
leaq 0x29ce4(%rip), %r13     # 0x34940
leaq 0x10aa5(%rip), %r14     # 0x1b708
leaq (%r12,%r13), %r15
addq $0x25410, %r15          # imm = 0x25410
movq %r15, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0xf82d
testq %rax, %rax
je 0xac8f
movq %rax, %rdi
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xaca1
addq $0x400, %r12            # imm = 0x400
cmpq $0x2400, %r12           # imm = 0x2400
jne 0xac63
jmp 0xacc9
leaq 0x10a60(%rip), %rdx     # 0x1b708
movq %r15, %rdi
movl $0x1, %esi
callq 0xf82d
leaq 0x532b4(%rip), %rdi     # 0x5df70
movl $0x100, %edx            # imm = 0x100
movq %rax, %rsi
callq 0xf384
leaq 0x532a0(%rip), %rbx     # 0x5df70
movq %rbx, %rdi
callq 0x8120
testl %eax, %eax
jle 0xacfd
xorl %r14d, %r14d
cmpb $0x22, (%r14,%rbx)
jne 0xaceb
movb $0x27, (%r14,%rbx)
incq %r14
movq %rbx, %rdi
callq 0x8120
cltq
cmpq %rax, %r14
jl 0xacdf
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdBanIdt
int _cmdBanIdt( char *arg, char *arg2, char *passThru  ) 
{ 
    int errCode = 1;
    char cmdOut[256], statusIn[256];

    if ( rosterIsValidGUID( arg ) ) {
        snprintf( cmdOut, 256, "banid \"%s\" %d \"[Tempban] %s\"", arg, picladminConfig.tempBanMinutes, _reason( passThru ) );
        apiRcon( cmdOut, statusIn );
        apiSay( statusIn );
        errCode = 0;
    }

    if ( errCode != 0 ) _stddResp( errCode );   // ok or error message to game

    return errCode; 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdx, %rbx
movq %rdi, %r14
callq 0x14378
testl %eax, %eax
je 0xad78
movl 0x52c2b(%rip), %ebp     # 0x5d954
movq %rbx, %rdi
callq 0xabfb
leaq 0x10f10(%rip), %rdx     # 0x1bc48
leaq 0x53231(%rip), %r9      # 0x5df70
xorl %ebx, %ebx
leaq 0x100(%rsp), %r15
movl $0x100, %esi            # imm = 0x100
movq %r15, %rdi
movq %r14, %rcx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x8190
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x13827
movq %r14, %rdi
xorl %eax, %eax
callq 0x13337
jmp 0xadbc
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x29b9b(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
xorl %eax, %eax
callq 0x134e5
movl $0x1, %ebx
movl %ebx, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdUnBanId
int _cmdUnBanId( char *arg, char *arg2, char *passThru  ) 
{ 
    int errCode = 1;
    char cmdOut[256], statusIn[256];

    if ( rosterIsValidGUID( arg ) ) {
        snprintf( cmdOut, 256, "unban \"%s\"", arg );
        apiRcon( cmdOut, statusIn );
        apiSay( statusIn );
        errCode = 0;
    }

    if ( errCode != 0 ) _stddResp( errCode );   // ok or error message to game

    return errCode; 
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rdi, %r14
callq 0x14378
testl %eax, %eax
je 0xae21
leaq 0x10e7a(%rip), %rdx     # 0x1bc65
xorl %ebx, %ebx
leaq 0x100(%rsp), %r15
movl $0x100, %esi            # imm = 0x100
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x8190
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x13827
movq %r14, %rdi
xorl %eax, %eax
callq 0x13337
jmp 0xae65
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x29af2(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
xorl %eax, %eax
callq 0x134e5
movl $0x1, %ebx
movl %ebx, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdKickId
int _cmdKickId( char *arg, char *arg2, char *passThru  ) 
{ 
    int errCode = 1;
    char cmdOut[256], statusIn[256];

    if ( rosterIsValidGUID( arg )) {  // if valid ID
        snprintf( cmdOut, 256, "kick \"%s\" \"%s\"", arg, _reason( passThru) );
        apiRcon( cmdOut, statusIn );
        errCode = 0;
    }

    _stddResp( errCode );   // ok or error message to game

    return errCode;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rdx, %rbx
movq %rdi, %r14
callq 0x14378
testl %eax, %eax
je 0xaf0a
movq %rbx, %rdi
callq 0xabfb
leaq 0x10dd2(%rip), %rdx     # 0x1bc70
leaq 0x530cb(%rip), %r8      # 0x5df70
xorl %ebx, %ebx
leaq 0x100(%rsp), %r15
movl $0x100, %esi            # imm = 0x100
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x8190
movq %rsp, %rsi
movq %r15, %rdi
callq 0x13827
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x29a47(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x4, %rdi
xorl %eax, %eax
callq 0x134e5
jmp 0xaf4e
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x29a09(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
xorl %eax, %eax
callq 0x134e5
movl $0x1, %ebx
movl %ebx, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdBan
int _cmdBan( char *arg, char *arg2, char *passThru  ) 
{ 
    int errCode = 1;
    char cmdOut[256], statusIn[256], steamID[256];
    strlcpy( steamID, rosterLookupSteamIDFromPartialName( arg, 3 ), 256 );
    if ( 0 != strlen( steamID ) ) {
        if ( (snprintf( cmdOut, 255, "banid \"%s\" 0 \"%s\"", steamID, _reason( passThru) )) < 0 )
            logPrintf( LOG_LEVEL_WARN, "picladmin", "Overflow warning at _cmdBan" );
        apiRcon( cmdOut, statusIn );
        apiSay( statusIn );
        errCode = 0;
    }

    if ( errCode != 0 ) _stddResp( errCode );   // ok or error message to game

    return errCode; 
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x308, %rsp            # imm = 0x308
movq %rdx, %rbx
movl $0x3, %esi
callq 0x14e89
movq %rsp, %r14
movl $0x100, %edx            # imm = 0x100
movq %r14, %rdi
movq %rax, %rsi
callq 0xf384
cmpb $0x0, (%r14)
je 0xaffe
movq %rbx, %rdi
callq 0xabfb
leaq 0x10c9a(%rip), %rdx     # 0x1bc36
leaq 0x52fcd(%rip), %r8      # 0x5df70
xorl %ebx, %ebx
leaq 0x100(%rsp), %rdi
movq %rsp, %rcx
movl $0xff, %esi
xorl %eax, %eax
callq 0x8190
testl %eax, %eax
jns 0xafda
leaq 0x10cb8(%rip), %rsi     # 0x1bc7f
leaq 0x10cbb(%rip), %rdx     # 0x1bc89
movl $0x1, %edi
xorl %eax, %eax
callq 0x1a3e3
leaq 0x100(%rsp), %rdi
leaq 0x200(%rsp), %r14
movq %r14, %rsi
callq 0x13827
movq %r14, %rdi
xorl %eax, %eax
callq 0x13337
jmp 0xb042
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x29915(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
xorl %eax, %eax
callq 0x134e5
movl $0x1, %ebx
movl %ebx, %eax
addq $0x308, %rsp            # imm = 0x308
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdBant
int _cmdBant( char *arg, char *arg2, char *passThru  ) 
{ 
    int errCode = 1;
    char cmdOut[256], statusIn[256], steamID[256];
    strlcpy( steamID, rosterLookupSteamIDFromPartialName( arg, 3 ), 256 );
    if ( 0 != strlen( steamID ) ) {
        if ( (snprintf( cmdOut, 255, "ban %s %d \"[Tempban] %s\"", steamID, picladminConfig.tempBanMinutes, _reason( passThru) )) < 0 )
            logPrintf( LOG_LEVEL_WARN, "picladmin", "Overflow warning at _cmdBan" );
        apiRcon( cmdOut, statusIn );
        apiSay( statusIn );
        errCode = 0;
    }

    if ( errCode != 0 ) _stddResp( errCode );   // ok or error message to game

    return errCode; 
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x300, %rsp            # imm = 0x300
movq %rdx, %rbx
movl $0x3, %esi
callq 0x14e89
movq %rsp, %r14
movl $0x100, %edx            # imm = 0x100
movq %r14, %rdi
movq %rax, %rsi
callq 0xf384
cmpb $0x0, (%r14)
je 0xb0fa
movl 0x528ce(%rip), %ebp     # 0x5d954
movq %rbx, %rdi
callq 0xabfb
leaq 0x10c10(%rip), %rdx     # 0x1bca5
leaq 0x52ed4(%rip), %r9      # 0x5df70
xorl %ebx, %ebx
leaq 0x100(%rsp), %rdi
movq %rsp, %rcx
movl $0xff, %esi
movl %ebp, %r8d
xorl %eax, %eax
callq 0x8190
testl %eax, %eax
jns 0xb0d6
leaq 0x10bbc(%rip), %rsi     # 0x1bc7f
leaq 0x10bbf(%rip), %rdx     # 0x1bc89
movl $0x1, %edi
xorl %eax, %eax
callq 0x1a3e3
leaq 0x100(%rsp), %rdi
leaq 0x200(%rsp), %r14
movq %r14, %rsi
callq 0x13827
movq %r14, %rdi
xorl %eax, %eax
callq 0x13337
jmp 0xb13e
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x29819(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
xorl %eax, %eax
callq 0x134e5
movl $0x1, %ebx
movl %ebx, %eax
addq $0x300, %rsp            # imm = 0x300
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdKick
int _cmdKick( char *arg, char *arg2, char *passThru ) 
{ 
    int vendorType;
    int errCode = 0;
    char steamID[256];

    // Lookup Steam, EPIC or WinGDK ID from player name 'arg'
    //
    strlcpy( steamID, rosterLookupSteamIDFromPartialName( arg, 3 ), 256 );

    if ( 0 != strlen( steamID ) ) {

        vendorType = rosterIsValidGUID( steamID );

        switch( vendorType ) {
        case 1:   // Steam:  kick by ID for definitive target
            errCode = apiKick( steamID, _reason( passThru ) );
            logPrintf( LOG_LEVEL_WARN, "picladmin", "Steam Admin kick by ID  ::%s::", steamID );
            break;
        case 2: case 3:  // EPIC/WinGDK:  kick by name due to NWI bug (SS 1.13 and prior)
            errCode |= apiKick( arg, _reason( passThru ) );
            logPrintf( LOG_LEVEL_WARN, "picladmin", "EPIC Admin kick by Name ::%s::", arg );
            break;
        default:  // fault
            logPrintf( LOG_LEVEL_WARN, "picladmin", "Failed to kick ::%s::", passThru );
            errCode = 1;
            break;
        }
    }

    if ( errCode != 0) _stddResp( errCode );   // ok or error message to game

    return errCode; 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
movq %rdx, %r15
movq %rdi, %r14
movl $0x3, %esi
callq 0x14e89
movq %rsp, %r12
movl $0x100, %edx            # imm = 0x100
movq %r12, %rdi
movq %rax, %rsi
callq 0xf384
xorl %ebx, %ebx
cmpb $0x0, (%r12)
je 0xb26b
movq %rsp, %rdi
callq 0x14378
leal -0x2(%rax), %ecx
cmpl $0x2, %ecx
jae 0xb1c4
movq %r15, %rdi
callq 0xabfb
leaq 0x52dc6(%rip), %rsi     # 0x5df70
movq %r14, %rdi
callq 0x13789
movl %eax, %ebp
leaq 0x10ac4(%rip), %rsi     # 0x1bc7f
leaq 0x10b1b(%rip), %rdx     # 0x1bcdd
jmp 0xb1f3
cmpl $0x1, %eax
jne 0xb208
movq %r15, %rdi
callq 0xabfb
leaq 0x52d98(%rip), %rsi     # 0x5df70
movq %rsp, %r14
movq %r14, %rdi
callq 0x13789
movl %eax, %ebp
leaq 0x10a93(%rip), %rsi     # 0x1bc7f
leaq 0x10acb(%rip), %rdx     # 0x1bcbe
movl $0x1, %edi
movq %r14, %rcx
xorl %eax, %eax
callq 0x1a3e3
testl %ebp, %ebp
jne 0xb22a
jmp 0xb26b
leaq 0x10a70(%rip), %rsi     # 0x1bc7f
leaq 0x10ae6(%rip), %rdx     # 0x1bcfc
movl $0x1, %ebp
movl $0x1, %edi
movq %r15, %rcx
xorl %eax, %eax
callq 0x1a3e3
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x296e9(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
xorl %eax, %eax
callq 0x134e5
movl %ebp, %ebx
movl %ebx, %eax
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdGameModeProperty
int _cmdGameModeProperty( char *arg, char *arg2, char *passThru ) 
{ 
    int  errCode = 1;
    char statusIn[256], cmdOut[256];

    // snprintf( cmdOut, 256, "kick %s", steamID );
    if ( 0 != strlen( arg ) ) {
        if ( 0 != strlen( arg2 ) ) {
            apiGameModePropertySet( arg, arg2 );
        }
        strlcpy( statusIn, apiGameModePropertyGet( arg ), 256 );
        if ( 0 == strlen( statusIn ) ) 
           apiSaySys( "GMP Readback Error");
        else {
           if ( snprintf( cmdOut, 255, "'%s' is set to '%s'", arg, statusIn ) < 0 )
               logPrintf( LOG_LEVEL_WARN, "picladmin", "Overflow warning at _cmdGameModeProperty" );
           apiSaySys( cmdOut );
           errCode = 0;
        }
    }
    else {
        _stddResp( 1 );   // format error message to game
    }
    return errCode;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
cmpb $0x0, (%rdi)
je 0xb316
movq %rdi, %r14
cmpb $0x0, (%rsi)
je 0xb2a0
movq %r14, %rdi
callq 0x131ed
movq %r14, %rdi
callq 0x131f2
leaq 0x100(%rsp), %rbx
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %rax, %rsi
callq 0xf384
cmpb $0x0, (%rbx)
je 0xb350
leaq 0x10a55(%rip), %rdx     # 0x1bd25
xorl %ebx, %ebx
movq %rsp, %rdi
leaq 0x100(%rsp), %r8
movl $0xff, %esi
movq %r14, %rcx
xorl %eax, %eax
callq 0x8190
testl %eax, %eax
jns 0xb30a
leaq 0x10988(%rip), %rsi     # 0x1bc7f
leaq 0x10a3b(%rip), %rdx     # 0x1bd39
movl $0x1, %edi
xorl %eax, %eax
callq 0x1a3e3
movq %rsp, %rdi
xorl %eax, %eax
callq 0x134e5
jmp 0xb363
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x295fd(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x1404, %rdi           # imm = 0x1404
jmp 0xb357
leaq 0x109bb(%rip), %rdi     # 0x1bd12
xorl %eax, %eax
callq 0x134e5
movl $0x1, %ebx
movl %ebx, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdRcon
int _cmdRcon( char *arg, char *arg2, char *passThru ) 
{ 
    int bytesRead, errCode = 1;
    char statusIn[4096];
    char *rconArgs;
    int  supportedRconCommand = 1;
    char *unsupportedRcon[] =  { "help", "listplayers", "listbans", "maps", "scenarios", "listgamemodeproperties", "*" };

    supportedRconCommand = !foundMatch( arg, unsupportedRcon, 1 );

    if ( supportedRconCommand ) {
        rconArgs = strstr( passThru, " " );
        if ( rconArgs != NULL ) {  
            bytesRead = apiRcon( rconArgs, statusIn );
            if ( bytesRead != 0 )  {
                errCode = 0;
                apiSaySys( statusIn );
            }
            else {
                apiSaySys( "RCON Interface Error" );
            }
        }
    }
    else {
        apiSaySys( "Unsupported RCON command" );
    }
    return errCode;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1048, %rsp           # imm = 0x1048
movq %rdx, %r14
movq 0x1ca5c(%rip), %rax     # 0x27de0
movq %rsp, %rsi
movq %rax, 0x30(%rsi)
movaps 0x1ca3e(%rip), %xmm0    # 0x27dd0
movaps %xmm0, 0x20(%rsi)
movaps 0x1ca23(%rip), %xmm0    # 0x27dc0
movaps %xmm0, 0x10(%rsi)
movaps 0x1ca08(%rip), %xmm0    # 0x27db0
movaps %xmm0, (%rsi)
movl $0x1, %ebx
movl $0x1, %edx
callq 0xf88e
testl %eax, %eax
je 0xb3c7
leaq 0x109f2(%rip), %rdi     # 0x1bdb7
jmp 0xb3fb
movq %r14, %rdi
movl $0x20, %esi
callq 0x8170
testq %rax, %rax
je 0xb40f
leaq 0x40(%rsp), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x13827
xorl %ebx, %ebx
testl %eax, %eax
sete %bl
leaq 0x109ab(%rip), %rdi     # 0x1bda2
cmovneq %r14, %rdi
xorl %eax, %eax
callq 0x134e5
movl %ebx, %eax
addq $0x1048, %rsp           # imm = 0x1048
popq %rbx
popq %r14
retq
movl $0x1, %ebx
jmp 0xb402
// File: /workspace/github_c_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0xf829
leaq 0x10605(%rip), %rdi     # 0x1ba3b
callq 0x131f2
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %rax, %rsi
callq 0xf310
leaq 0x105f8(%rip), %rdi     # 0x1ba4a
callq 0x131f2
movq %rax, %r14
leaq 0x12a1c(%rip), %r15     # 0x1de7d
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r15, %rsi
callq 0xf310
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r14, %rsi
callq 0xf310
leaq 0x10616(%rip), %rdi     # 0x1ba9e
callq 0x131f2
movq %rax, %r14
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r15, %rsi
callq 0xf310
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r14, %rsi
callq 0xf310
leaq 0x10919(%rip), %rsi     # 0x1bdd0
leaq 0x4(%rsp), %rdx
movq %rsp, %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x82d0
cmpl $0x3, %eax
jne 0xb4ff
movl 0x4(%rsp), %eax
movl (%rsp), %edx
leal (%rax,%rax), %esi
cmpl %edx, %eax
jne 0xb514
movsd 0x8(%rsp), %xmm0
mulsd 0x101e9(%rip), %xmm0    # 0x1b6d8
leaq 0x1090c(%rip), %rdi     # 0x1be02
movb $0x1, %al
callq 0x134e5
jmp 0xb532
leaq 0x10920(%rip), %rdi     # 0x1be26
leaq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x134e5
jmp 0xb532
addl %edx, %edx
movsd 0x8(%rsp), %xmm0
mulsd 0x101b4(%rip), %xmm0    # 0x1b6d8
leaq 0x108af(%rip), %rdi     # 0x1bdda
movb $0x1, %al
callq 0x134e5
callq 0x11a34
testl %eax, %eax
je 0xb559
callq 0x11a3c
movl %eax, %ebx
callq 0x13853
leaq 0x108ef(%rip), %rdi     # 0x1be3d
movl %ebx, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x134e5
xorl %eax, %eax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdAllowIn
int _cmdAllowIn( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 0;

    if ( 0 != strlen( arg ) ) {
        p2pSetS( "picladmin.p2p.allowInPattern", arg );
        p2pSetL( "picladmin.p2p.allowTimeStart", apiTimeGet() );
        apiSaySys("Allow-in '%s' for a brief moment", p2pGetS( "picladmin.p2p.allowInPattern","" ));
    }
    else {
        p2pSetS( "picladmin.p2p.allowInPattern", "" );
        p2pSetL( "picladmin.p2p.allowTimeStart", 0L );
        apiSaySys("Allow-in closed");
    }

    // _stddResp( errCode );   // ok or error message to game
    return errCode; 
}

// Assembly:
pushq %rbx
cmpb $0x0, (%rdi)
je 0xb5b6
movq %rdi, %rsi
leaq 0x108dc(%rip), %rbx     # 0x1be54
movq %rbx, %rdi
callq 0x18108
callq 0x117c0
leaq 0x108e5(%rip), %rdi     # 0x1be71
movq %rax, %rsi
callq 0x180a5
leaq 0x1016e(%rip), %rsi     # 0x1b709
movq %rbx, %rdi
callq 0x18256
leaq 0x108e4(%rip), %rdi     # 0x1be8e
movq %rax, %rsi
xorl %eax, %eax
callq 0x134e5
jmp 0xb5e5
leaq 0x10897(%rip), %rdi     # 0x1be54
leaq 0x10145(%rip), %rsi     # 0x1b709
callq 0x18108
leaq 0x108a1(%rip), %rdi     # 0x1be71
xorl %esi, %esi
callq 0x180a5
leaq 0x108d1(%rip), %rdi     # 0x1beaf
xorl %eax, %eax
callq 0x134e5
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdSpam
int _cmdSpam( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 0;

    if (0 == strcmp( "off", arg )) {
        p2pSetF("api.p2p.sayDisable", 1.0 );
        _stddResp( 0 );   // ok message to game
    }
    else if (0 == strcmp( "on", arg )) {
        p2pSetF("api.p2p.sayDisable", 0.0 );
        _stddResp( 0 );   // ok message to game
    }
    else {
        _stddResp( 1 );   // error message to game
    }
    return errCode;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x10186(%rip), %rdi     # 0x1b77a
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xb624
movzbl (%rbx), %eax
subl $0x6f, %eax
jne 0xb615
movzbl 0x1(%rbx), %eax
subl $0x6e, %eax
jne 0xb615
movzbl 0x2(%rbx), %eax
negl %eax
testl %eax, %eax
je 0xb62e
leaq 0x2a722(%rip), %rbx     # 0x35d44
jmp 0xb644
movsd 0xf9fc(%rip), %xmm0     # 0x1b028
jmp 0xb631
xorps %xmm0, %xmm0
leaq 0x10887(%rip), %rdi     # 0x1bebf
callq 0x17f94
leaq 0x29300(%rip), %rbx     # 0x34944
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movslq %eax, %rdi
shlq $0xa, %rdi
addq %rbx, %rdi
xorl %eax, %eax
callq 0x134e5
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdPrep
int _cmdPrep( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 0;
    char *typeObj, outStr[256];

    typeObj = rosterGetObjectiveType();
    strclr( outStr );
    if ( NULL != strcasestr( typeObj, "weaponcache" ) )
        strlcpy( outStr, picladminConfig.prepBlow, 256 );
    if ( NULL != strcasestr( typeObj, "capturable"  ) )
        strlcpy( outStr, picladminConfig.prepCapture, 256 );

    apiSaySys( outStr );
    return errCode;
}

// Assembly:
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
callq 0x14563
movq %rax, %rbx
movq %rsp, %rdi
callq 0xf829
leaq 0x1083a(%rip), %rsi     # 0x1bed2
movq %rbx, %rdi
callq 0x8350
testq %rax, %rax
je 0xb6b9
leaq 0x4d2a4(%rip), %rsi     # 0x58950
movq %rsp, %rdi
movl $0x100, %edx            # imm = 0x100
callq 0xf384
leaq 0x1081e(%rip), %rsi     # 0x1bede
movq %rbx, %rdi
callq 0x8350
testq %rax, %rax
je 0xb6e1
leaq 0x4d67c(%rip), %rsi     # 0x58d50
movq %rsp, %rdi
movl $0x100, %edx            # imm = 0x100
callq 0xf384
movq %rsp, %rdi
xorl %eax, %eax
callq 0x134e5
xorl %eax, %eax
addq $0x100, %rsp            # imm = 0x100
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdAsk
int _cmdAsk( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 0;
    char *typeObj, outStr[256];

    typeObj = rosterGetObjectiveType();
    strclr( outStr );
    if ( NULL != strcasestr( typeObj, "weaponcache" ) ) 
        strlcpy( outStr, picladminConfig.askBlow, 256 );
    if ( NULL != strcasestr( typeObj, "capturable"  ) ) 
        strlcpy( outStr, picladminConfig.askCapture, 256 );

    apiSaySys( outStr );
    return errCode;
}

// Assembly:
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
callq 0x14563
movq %rax, %rbx
movq %rsp, %rdi
callq 0xf829
leaq 0x107bd(%rip), %rsi     # 0x1bed2
movq %rbx, %rdi
callq 0x8350
testq %rax, %rax
je 0xb736
leaq 0x4da27(%rip), %rsi     # 0x59150
movq %rsp, %rdi
movl $0x100, %edx            # imm = 0x100
callq 0xf384
leaq 0x107a1(%rip), %rsi     # 0x1bede
movq %rbx, %rdi
callq 0x8350
testq %rax, %rax
je 0xb75e
leaq 0x4ddff(%rip), %rsi     # 0x59550
movq %rsp, %rdi
movl $0x100, %edx            # imm = 0x100
callq 0xf384
movq %rsp, %rdi
xorl %eax, %eax
callq 0x134e5
xorl %eax, %eax
addq $0x100, %rsp            # imm = 0x100
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdFast
int _cmdFast( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 0;

    if (0 == strcmp( "off", arg )) {
        p2pSetF("piantirush.p2p.fast", 0.0 );
        apiSaySys("Anti-Rushing algorithm will be enabled after the next objective");
    }
    else if (0 == strcmp( "on", arg )) {
        p2pSetF("piantirush.p2p.fast", 1.0 );
        apiSaySys("Anti-Rushing algorithm is disabled by admin");
        p2pSetL( "piantirush.p2p.training", 0L );    // turn off WAX
    }
    else {
        if (0.0 == p2pGetF( "piantirush.p2p.fast", 0.0 ) )
            apiSaySys( "Fast is OFF" );
        else
            apiSaySys( "Fast is ON" );
    }

    return errCode;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0xff7e(%rip), %rdi      # 0x1b77a
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xb848
movzbl (%rbx), %eax
subl $0x6f, %eax
jne 0xb81d
movzbl 0x1(%rbx), %eax
subl $0x6e, %eax
jne 0xb81d
movzbl 0x2(%rbx), %eax
negl %eax
leaq 0x1013f(%rip), %rdi     # 0x1b965
testl %eax, %eax
je 0xb861
xorpd %xmm0, %xmm0
callq 0x18162
ucomisd 0xfea5(%rip), %xmm0     # 0x1b6e0
jne 0xb88c
jp 0xb88c
leaq 0x1070f(%rip), %rdi     # 0x1bf55
jmp 0xb893
leaq 0x10116(%rip), %rdi     # 0x1b965
xorpd %xmm0, %xmm0
callq 0x17f94
leaq 0x1068a(%rip), %rdi     # 0x1bee9
jmp 0xb893
movsd 0xf7bf(%rip), %xmm0     # 0x1b028
callq 0x17f94
leaq 0x106b4(%rip), %rdi     # 0x1bf29
xorl %eax, %eax
callq 0x134e5
leaq 0x10087(%rip), %rdi     # 0x1b90a
xorl %esi, %esi
callq 0x180a5
jmp 0xb89a
leaq 0x106ce(%rip), %rdi     # 0x1bf61
xorl %eax, %eax
callq 0x134e5
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdNoKick
int _cmdNoKick( char *arg, char *arg2, char *passThru ) 
{ 
    // Run this discretely - so no prompt.
    //
    p2pSetL( "piantirush.p2p.nokickprotect", (long) picladminConfig.noKickProtectSec );
    _stddResp( 0 );

    return 0;
}

// Assembly:
pushq %rbx
leaq 0x2909a(%rip), %rbx     # 0x34940
movslq 0x520ab(%rip), %rsi     # 0x5d958
leaq 0x106b8(%rip), %rdi     # 0x1bf6c
callq 0x180a5
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq (%rax,%rbx), %rdi
addq $0x4, %rdi
xorl %eax, %eax
callq 0x134e5
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdNoWait
int _cmdNoWait( char *arg, char *arg2, char *passThru ) 
{ 
    // Run this discretely - so no prompt.
    // Set semaphore (binary), will be picked up by Periodic Processing
    // in piantirush plugin
    //
    p2pSetL( "piantirush.p2p.SigNoWait", 1L );
    _stddResp( 0 );

    return 0;
}

// Assembly:
pushq %rax
leaq 0x1068f(%rip), %rdi     # 0x1bf89
movl $0x1, %esi
callq 0x180a5
callq 0x83c0
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cltq
shlq $0xa, %rax
leaq 0x2900f(%rip), %rcx     # 0x34940
leaq (%rax,%rcx), %rdi
addq $0x4, %rdi
xorl %eax, %eax
callq 0x134e5
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdMapList
int _cmdMapList( char *arg, char *arg2, char *passThru ) 
{ 
    char *w, listBuf[1024];
    int errCode = 0;

    if (NULL != (w = apiMapList() )) {
        strlcpy( listBuf, w, 1024 );
        _showList( listBuf );
    }

    return errCode;
}

// Assembly:
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
callq 0x13e2c
testq %rax, %rax
je 0xbdda
movq %rsp, %rbx
movl $0x400, %edx            # imm = 0x400
movq %rbx, %rdi
movq %rax, %rsi
callq 0xf384
movq %rbx, %rdi
callq 0xbde5
xorl %eax, %eax
addq $0x400, %rsp            # imm = 0x400
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: showList
static int _showList( char *list )
{
    char *w, *v, outBuf[256];
    int errCode = 1;
    int j, i, exitF = 0;;

    w = list;
    j = 0;
    if ( w != NULL ) { 
        errCode = 0;
        while ( 0 == exitF ) {
            strclr( outBuf );
            for (i=0; i<4; i++) {
                v = getWord( w, j++, " " );
                if ( NULL == v ) {
                    exitF = 1;
                    break;
                }
                if ( 0==strlen( v ) ) {
                    exitF = 1;
                    break;
                }
                strncat( outBuf, v, 255 );
                strncat( outBuf, " ", 255 );
            }
            apiSaySys( "%s", outBuf );
        }
    } 
    return errCode;
}

// Assembly:
testq %rdi, %rdi
je 0xbe96
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %rbx
movq %rsp, %r14
leaq 0x10342(%rip), %r15     # 0x1c14e
xorl %r13d, %r13d
movq %r14, %rdi
callq 0xf829
leal 0x4(%r13), %ebp
xorl %r12d, %r12d
leal (%r12,%r13), %esi
movq %rbx, %rdi
movq %r15, %rdx
callq 0xf82d
testq %rax, %rax
je 0xbe74
cmpb $0x0, (%rax)
je 0xbe74
movl $0xff, %edx
movq %r14, %rdi
movq %rax, %rsi
callq 0x81c0
movq %r14, %rdi
callq 0x8120
movw $0x20, (%rsp,%rax)
incl %r12d
cmpl $0x4, %r12d
jne 0xbe1e
leaq 0x12e07(%rip), %rdi     # 0x1ec6c
movq %r14, %rsi
xorl %eax, %eax
callq 0x134e5
movl %ebp, %r13d
jmp 0xbe0f
leaq 0x12df1(%rip), %rdi     # 0x1ec6c
movq %rsp, %rsi
xorl %eax, %eax
callq 0x134e5
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdMutList
int _cmdMutList( char *arg, char *arg2, char *passThru )
{
    char *w, listBuf[1024];
    int errCode = 0;

    if (NULL != (w = apiMutList() )) {
        strlcpy( listBuf, w, 1024 );
        _showList( listBuf );
    }

    return errCode;
}

// Assembly:
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
callq 0x14062
testq %rax, %rax
je 0xbec4
movq %rsp, %rbx
movl $0x400, %edx            # imm = 0x400
movq %rbx, %rdi
movq %rax, %rsi
callq 0xf384
movq %rbx, %rdi
callq 0xbde5
xorl %eax, %eax
addq $0x400, %rsp            # imm = 0x400
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdMutActive
int _cmdMutActive( char *arg, char *arg2, char *passThru )
{
    char *w, listBuf[1024];
    int errCode = 0;

    if (NULL != (w = apiMutActive( 1 ) )) {
        strlcpy( listBuf, w, 1024 );
        _showList( listBuf );
    }

    return errCode;
}

// Assembly:
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
movl $0x1, %edi
callq 0x14183
testq %rax, %rax
je 0xbf01
movq %rsp, %rbx
movl $0x400, %edx            # imm = 0x400
movq %rbx, %rdi
movq %rax, %rsi
callq 0xf384
movq %rbx, %rdi
callq 0xbde5
xorl %eax, %eax
addq $0x400, %rsp            # imm = 0x400
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdReInit
int _cmdReInit( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 0;
    apiInitAuth();
    apiInitBadWords();

    apiSaySys( "SISSM ReInit Complete." );
    return errCode;
}

// Assembly:
pushq %rax
callq 0x1207c
callq 0x123d0
leaq 0x101ca(%rip), %rdi     # 0x1c0e8
xorl %eax, %eax
callq 0x134e5
xorl %eax, %eax
popq %rcx
retq