LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdStrict
int _cmdStrict( char *arg, char *arg2, char *passThru ) 
{
    switch ( p2pGetL( "piantirush.p2p.training", 0L ) ) {
    case 0L:
        p2pSetL( "piantirush.p2p.training", 1L );
        apiSaySys( picladminConfig.strictTutorial );
        p2pSetF("piantirush.p2p.fast", 0.0 );             // turn off FAST mode
        break;
    default:
        apiSaySys( "Strict/Wax mode already enabled" );
    };
    return 0;
}

// Assembly:
pushq %rax
leaq 0x10920(%rip), %rdi     # 0x1a90a
xorl %esi, %esi
callq 0x17172
testq %rax, %rax
je 0xa006
leaq 0x109c3(%rip), %rdi     # 0x1a9c0
xorl %eax, %eax
callq 0x12753
jmp 0xa032
leaq 0x108fd(%rip), %rdi     # 0x1a90a
pushq $0x1
popq %rsi
callq 0x17049
leaq 0x53940(%rip), %rdi     # 0x5d95c
xorl %eax, %eax
callq 0x12753
leaq 0x1093b(%rip), %rdi     # 0x1a965
xorps %xmm0, %xmm0
callq 0x16f38
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdThirdWave
int _cmdThirdWave( char *arg, char *arg2, char *passThru ) 
{  
    int errCode = 0;

    if (0 == strcmp( "off", arg )) {
        p2pSetL( "pithirdwave.p2p.thirdWaveEnable", 0L );
        apiSay( "ThirdWave Algorithm DISABLED." );
    }
    else if (0 == strcmp( "on", arg )) {
        p2pSetL( "pithirdwave.p2p.thirdWaveEnable", 1L );
        apiSay( "ThirdWave Algorithm ENABLED." );
    }
    else
        errCode = 1;

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

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x10736(%rip), %rdi     # 0x1a77a
movq %r14, %rsi
callq 0x8220
xorl %ebx, %ebx
testl %eax, %eax
je 0xa075
movzbl (%r14), %eax
subl $0x6f, %eax
jne 0xa06a
movzbl 0x1(%r14), %eax
subl $0x6e, %eax
jne 0xa06a
movzbl 0x2(%r14), %eax
negl %eax
testl %eax, %eax
je 0xa080
pushq $0x1
popq %rbx
jmp 0xa0a0
leaq 0x10984(%rip), %r14     # 0x1aa00
xorl %esi, %esi
jmp 0xa08a
leaq 0x10997(%rip), %r14     # 0x1aa1e
pushq $0x1
popq %rsi
leaq 0x1094f(%rip), %rdi     # 0x1a9e0
callq 0x17049
movq %r14, %rdi
xorl %eax, %eax
callq 0x125a8
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdBotFixed
int _cmdBotFixed( char *arg, char *arg2, char *passThru ) 
{  
    int errCode = 1, botCount;

    if (1 == sscanf( arg, "%d", &botCount )) {
        if ( ( botCount <=  picladminConfig.botMaxAllowed ) && ( botCount >= 0 ) ) {
           apiGameModePropertySet( "minimumenemies", _int2str( botCount/2 ) ); 
           apiGameModePropertySet( "maximumenemies", _int2str( botCount/2 ) );  
           apiGameModePropertySet( "soloenemies", _int2str( botCount/2 ) );  
           p2pSetL( "picladmin.p2p.botAdminControl", 1L );  // flag as admin control
           errCode = 0;
        }
    }
    _stddResp( errCode );   // ok or error message to game
    
    return errCode; 
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
leaq 0x1100a(%rip), %rsi     # 0x1b0c5
leaq 0x4(%rsp), %rdx
xorl %eax, %eax
callq 0x82d0
pushq $0x1
popq %rbx
cmpl $0x1, %eax
jne 0xa14a
movl 0x4(%rsp), %edi
testl %edi, %edi
js 0xa14a
cmpl 0x4e867(%rip), %edi     # 0x58944
jg 0xa14a
shrl %edi
callq 0xa15a
leaq 0x1094e(%rip), %rdi     # 0x1aa3b
leaq 0x53d7c(%rip), %rbx     # 0x5de70
movq %rbx, %rsi
callq 0x12464
movl 0x4(%rsp), %eax
pushq $0x2
popq %rbp
cltd
idivl %ebp
movl %eax, %edi
callq 0xa15a
leaq 0x10936(%rip), %rdi     # 0x1aa4a
movq %rbx, %rsi
callq 0x12464
movl 0x4(%rsp), %eax
cltd
idivl %ebp
movl %eax, %edi
callq 0xa15a
leaq 0x10928(%rip), %rdi     # 0x1aa59
movq %rbx, %rsi
callq 0x12464
leaq 0x10925(%rip), %rdi     # 0x1aa65
pushq $0x1
popq %rsi
callq 0x17049
xorl %ebx, %ebx
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdBotScaled
int _cmdBotScaled( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 1, botCount, botCountMin, botCountMax;

    if (1 == sscanf( arg, "%d", &botCountMax )) {    // assume single param case
        if ( (botCountMax <= picladminConfig.botMaxAllowed) && (botCountMax >= 2) ) {
            botCountMin = picladminConfig.botMinDefault;
            errCode = 0;
            if ( 1 == sscanf( arg2, "%d", &botCount )) {  // check for 2nd param
                botCountMin = botCountMax;
                botCountMax = botCount;
                if ( picladminConfig.botUpperMin != 0 ) {
                    if ( botCountMin > picladminConfig.botUpperMin )
                        botCountMin = picladminConfig.botUpperMin;   // limit min
                }
                if ( botCountMin > botCountMax )                   errCode = 1;
                if ( botCountMax > picladminConfig.botMaxAllowed ) errCode = 1;
                if ( botCountMax <  2 )                            errCode = 1;
            }
        }
    }
    if ( 0 == errCode ) {
        apiGameModePropertySet( "minimumenemies", _int2str( botCountMin / 2 ) );
        apiGameModePropertySet( "maximumenemies", _int2str( botCountMax / 2 ) );
        // apiGameModePropertySet( "soloenemies", _int2str( botCountMax ) );  
        p2pSetL( "picladmin.p2p.botAdminControl", 1L );  // flag as admin control
        p2pSetL( "pidynbots.p2p.sigBotScaled", 1L );  // signal to pidynbots (if running)
    }
    _stddResp( errCode );   // ok or error message to game

    return errCode; 
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
leaq 0x10f3d(%rip), %rsi     # 0x1b0c5
leaq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0x82d0
pushq $0x1
popq %rbx
cmpl $0x1, %eax
jne 0xa27d
movl 0x8(%rsp), %eax
cmpl $0x2, %eax
jl 0xa27d
cmpl 0x4e791(%rip), %eax     # 0x58944
jg 0xa27d
movl 0x4e789(%rip), %ebp     # 0x58948
leaq 0x10eff(%rip), %rsi     # 0x1b0c5
leaq 0xc(%rsp), %rdx
movq %r14, %rdi
xorl %eax, %eax
callq 0x82d0
cmpl $0x1, %eax
jne 0xa215
movl 0x8(%rsp), %eax
movl 0xc(%rsp), %ecx
movl %ecx, 0x8(%rsp)
movl 0x4e760(%rip), %edx     # 0x5894c
cmpl %edx, %eax
movl %edx, %ebp
cmovll %eax, %ebp
testl %edx, %edx
cmovel %eax, %ebp
cmpl %ecx, %ebp
setle %al
cmpl 0x4e741(%rip), %ecx     # 0x58944
setle %dl
cmpl $0x2, %ecx
setge %cl
andb %dl, %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xa27d
pushq $0x2
popq %r14
movl %ebp, %eax
cltd
idivl %r14d
movl %eax, %edi
callq 0xa15a
leaq 0x1080e(%rip), %rdi     # 0x1aa3b
leaq 0x53c3c(%rip), %rbx     # 0x5de70
movq %rbx, %rsi
callq 0x12464
movl 0x8(%rsp), %eax
cltd
idivl %r14d
movl %eax, %edi
callq 0xa15a
leaq 0x107f8(%rip), %rdi     # 0x1aa4a
movq %rbx, %rsi
callq 0x12464
leaq 0x10804(%rip), %rdi     # 0x1aa65
pushq $0x1
popq %rbx
movq %rbx, %rsi
callq 0x17049
leaq 0x10810(%rip), %rdi     # 0x1aa83
movq %rbx, %rsi
callq 0x17049
xorl %ebx, %ebx
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 %rbx
subq $0x110, %rsp            # imm = 0x110
leaq 0x11e02(%rip), %rsi     # 0x1c0a0
leaq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0x82d0
pushq $0x1
popq %rbx
cmpl $0x1, %eax
jne 0xa33e
movsd 0x8(%rsp), %xmm0
ucomisd 0x1040c(%rip), %xmm0    # 0x1a6d0
jb 0xa2dd
movabsq $0x4023cccccccccccd, %rax # imm = 0x4023CCCCCCCCCCCD
movq %rax, 0x8(%rsp)
movsd 0x103f3(%rip), %xmm0    # 0x1a6d0
movsd 0x103f3(%rip), %xmm1    # 0x1a6d8
ucomisd %xmm0, %xmm1
jb 0xa33e
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xa33e
divsd 0x103db(%rip), %xmm0    # 0x1a6d8
movsd %xmm0, 0x8(%rsp)
leaq 0x10b15(%rip), %rdx     # 0x1ae1f
leaq 0x10(%rsp), %rbx
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdi
movb $0x1, %al
callq 0x8190
leaq 0x10779(%rip), %rdi     # 0x1aa9e
movq %rbx, %rsi
callq 0x12464
leaq 0x10777(%rip), %rdi     # 0x1aaab
pushq $0x1
popq %rsi
callq 0x17049
xorl %ebx, %ebx
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 %rbx
movq %rdi, %rbx
leaq 0x1041f(%rip), %rdi     # 0x1a77a
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa387
movzbl (%rbx), %eax
subl $0x6f, %eax
jne 0xa37c
movzbl 0x1(%rbx), %eax
subl $0x6e, %eax
jne 0xa37c
movzbl 0x2(%rbx), %eax
negl %eax
testl %eax, %eax
je 0xa390
pushq $0x1
popq %rbx
jmp 0xa3a5
leaq 0x1074f(%rip), %rsi     # 0x1aadd
jmp 0xa397
leaq 0x1074c(%rip), %rsi     # 0x1aae3
leaq 0x10735(%rip), %rdi     # 0x1aad3
callq 0x12464
xorl %ebx, %ebx
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 %rbx
movq %rdi, %rbx
leaq 0x103bf(%rip), %rdi     # 0x1a77a
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa3e7
movzbl (%rbx), %eax
subl $0x6f, %eax
jne 0xa3dc
movzbl 0x1(%rbx), %eax
subl $0x6e, %eax
jne 0xa3dc
movzbl 0x2(%rbx), %eax
negl %eax
testl %eax, %eax
je 0xa3f0
pushq $0x1
popq %rbx
jmp 0xa405
leaq 0x106ef(%rip), %rsi     # 0x1aadd
jmp 0xa3f7
leaq 0x106ec(%rip), %rsi     # 0x1aae3
leaq 0x106ea(%rip), %rdi     # 0x1aae8
callq 0x12464
xorl %ebx, %ebx
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x106cb(%rip), %rdi     # 0x1ab0a
callq 0x8220
testl %eax, %eax
je 0xa44d
pushq $0x1
popq %rbx
jmp 0xa45f
movq %rsp, %rdi
leaq 0x100(%rsp), %rsi
callq 0x12a8a
xorl %ebx, %ebx
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x1066a(%rip), %rdi     # 0x1ab0a
callq 0x8220
testl %eax, %eax
je 0xa4ae
pushq $0x1
popq %rbx
jmp 0xa4c0
movq %rsp, %rdi
leaq 0x100(%rsp), %rsi
callq 0x12a8a
xorl %ebx, %ebx
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 %rbx
movq %rdi, %rbx
leaq 0x10640(%rip), %rdi     # 0x1ab1d
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa555
leaq 0x1061a(%rip), %rdi     # 0x1ab0a
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa530
callq 0x12ab4
testl %eax, %eax
je 0xa530
leaq 0x1067a(%rip), %rdi     # 0x1ab86
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa577
leaq 0x11687(%rip), %rdi     # 0x1bba6
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xa58a
pushq $0x1
popq %rbx
jmp 0xa5a4
leaq 0x10613(%rip), %rdi     # 0x1ab4a
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x12753
leaq 0x1062b(%rip), %rdi     # 0x1ab72
callq 0x12304
andl $0x0, 0x53809(%rip)     # 0x5dd5c
jmp 0xa5a4
cmpl $0x0, 0x53800(%rip)     # 0x5dd5c
je 0xa56c
leaq 0x105bf(%rip), %rdi     # 0x1ab24
xorl %eax, %eax
callq 0x12753
andl $0x0, 0x537e9(%rip)     # 0x5dd5c
xorl %ebx, %ebx
jmp 0xa5a4
movl $0x2, 0x537db(%rip)     # 0x5dd5c
leaq 0x10602(%rip), %rdi     # 0x1ab8a
jmp 0xa59b
movl $0x1, 0x537c8(%rip)     # 0x5dd5c
leaq 0x1061b(%rip), %rdi     # 0x1abb6
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x12753
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x10547(%rip), %rdi     # 0x1ab0a
callq 0x8220
testl %eax, %eax
je 0xa5df
leaq 0x10645(%rip), %rdi     # 0x1ac18
xorl %eax, %eax
callq 0x12753
pushq $0x1
popq %rbx
jmp 0xa64e
leaq 0x105fd(%rip), %rdi     # 0x1abe3
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x12753
leaq 0x10600(%rip), %rdi     # 0x1abf6
leaq 0xfb17(%rip), %r14      # 0x1a114
movq %r14, %rsi
callq 0x12464
leaq 0x105f7(%rip), %rdi     # 0x1ac03
movq %r14, %rsi
callq 0x12464
leaq 0x105f3(%rip), %rdi     # 0x1ac0e
movq %r14, %rsi
callq 0x12464
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 0x12a8a
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x13480
testl %eax, %eax
je 0xa6c9
movq %rbx, %rdi
callq 0xa6e7
leaq 0x105aa(%rip), %rdx     # 0x1ac36
leaq 0x538dd(%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 0x12a8a
movq %r14, %rdi
xorl %eax, %eax
callq 0x125a8
jmp 0xa6d8
leaq 0x2b674(%rip), %rdi     # 0x35d44
callq 0xc3f8
pushq $0x1
popq %rbx
movl %ebx, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x8120
leaq (%r14,%rax), %rcx
xorl %edx, %edx
testl %eax, %eax
cmovlel %edx, %eax
subq $0x1, %rax
jb 0xa721
xorl %esi, %esi
cmpb $0x20, (%r14)
sete %sil
addl %esi, %edx
incq %r14
cmpl $0x2, %edx
jne 0xa705
jmp 0xa724
movq %rcx, %r14
leaq 0x53845(%rip), %rbx     # 0x5df70
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe97a
xorl %r13d, %r13d
leaq 0x2a1fb(%rip), %rbp     # 0x34940
leaq 0xffbc(%rip), %r15      # 0x1a708
cmpq $0x2400, %r13           # imm = 0x2400
je 0xa7b0
leaq 0x25410(,%rbp), %r12
addq %r13, %r12
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0xed9c
testq %rax, %rax
je 0xa781
movq %rax, %rdi
movq %r14, %rsi
callq 0x8220
testl %eax, %eax
je 0xa78a
addq $0x400, %r13            # imm = 0x400
jmp 0xa74c
leaq 0xff77(%rip), %rdx      # 0x1a708
pushq $0x1
popq %rsi
movq %r12, %rdi
callq 0xed9c
leaq 0x537cd(%rip), %rdi     # 0x5df70
movl $0x100, %edx            # imm = 0x100
movq %rax, %rsi
callq 0xe97a
xorl %r14d, %r14d
movq %rbx, %rdi
callq 0x8120
cltq
cmpq %rax, %r14
jge 0xa7d3
cmpb $0x22, (%r14,%rbx)
jne 0xa7ce
movb $0x27, (%r14,%rbx)
incq %r14
jmp 0xa7b3
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x13480
testl %eax, %eax
je 0xa853
movl 0x53150(%rip), %ebp     # 0x5d954
movq %rbx, %rdi
callq 0xa6e7
leaq 0x10435(%rip), %rdx     # 0x1ac48
leaq 0x53756(%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 0x12a8a
movq %r14, %rdi
xorl %eax, %eax
callq 0x125a8
jmp 0xa862
leaq 0x2b4ea(%rip), %rdi     # 0x35d44
callq 0xc3f8
pushq $0x1
popq %rbx
movl %ebx, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x13480
testl %eax, %eax
je 0xa8c7
leaq 0x103d4(%rip), %rdx     # 0x1ac65
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 0x12a8a
movq %r14, %rdi
xorl %eax, %eax
callq 0x125a8
jmp 0xa8d6
leaq 0x2b476(%rip), %rdi     # 0x35d44
callq 0xc3f8
pushq $0x1
popq %rbx
movl %ebx, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x13480
testl %eax, %eax
je 0xa93f
movq %rbx, %rdi
callq 0xa6e7
leaq 0x10361(%rip), %rdx     # 0x1ac70
leaq 0x5365a(%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 0x12a8a
jmp 0xa942
pushq $0x1
popq %rbx
movl %ebx, %edi
callq 0x9a2d
movl %ebx, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq $0x3
popq %rsi
callq 0x13f26
movq %rsp, %r14
movl $0x100, %edx            # imm = 0x100
movq %r14, %rdi
movq %rax, %rsi
callq 0xe97a
cmpb $0x0, (%r14)
je 0xa9f5
movq %rbx, %rdi
callq 0xa6e7
leaq 0x102a1(%rip), %rdx     # 0x1ac36
leaq 0x535d4(%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 0xa9d1
leaq 0x102bf(%rip), %rsi     # 0x1ac7f
leaq 0x102c2(%rip), %rdx     # 0x1ac89
pushq $0x1
popq %rdi
xorl %eax, %eax
callq 0x1920b
leaq 0x100(%rsp), %rdi
leaq 0x200(%rsp), %r14
movq %r14, %rsi
callq 0x12a8a
movq %r14, %rdi
xorl %eax, %eax
callq 0x125a8
jmp 0xaa04
leaq 0x2b348(%rip), %rdi     # 0x35d44
callq 0xc3f8
pushq $0x1
popq %rbx
movl %ebx, %eax
addq $0x308, %rsp            # imm = 0x308
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq $0x3
popq %rsi
callq 0x13f26
movq %rsp, %r14
movl $0x100, %edx            # imm = 0x100
movq %r14, %rdi
movq %rax, %rsi
callq 0xe97a
cmpb $0x0, (%r14)
je 0xaab8
movl 0x52f0e(%rip), %ebp     # 0x5d954
movq %rbx, %rdi
callq 0xa6e7
leaq 0x10250(%rip), %rdx     # 0x1aca5
leaq 0x53514(%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 0xaa94
leaq 0x101fc(%rip), %rsi     # 0x1ac7f
leaq 0x101ff(%rip), %rdx     # 0x1ac89
pushq $0x1
popq %rdi
xorl %eax, %eax
callq 0x1920b
leaq 0x100(%rsp), %rdi
leaq 0x200(%rsp), %r14
movq %r14, %rsi
callq 0x12a8a
movq %r14, %rdi
xorl %eax, %eax
callq 0x125a8
jmp 0xaac7
leaq 0x2b285(%rip), %rdi     # 0x35d44
callq 0xc3f8
pushq $0x1
popq %rbx
movl %ebx, %eax
addq $0x300, %rsp            # imm = 0x300
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq $0x3
popq %rsi
callq 0x13f26
movq %rsp, %r12
movl $0x100, %edx            # imm = 0x100
movq %r12, %rdi
movq %rax, %rsi
callq 0xe97a
xorl %ebx, %ebx
cmpb $0x0, (%r12)
je 0xabb3
movq %rsp, %rdi
callq 0x13480
leal -0x2(%rax), %ecx
cmpl $0x2, %ecx
jae 0xab4b
movq %r15, %rdi
callq 0xa6e7
leaq 0x5343f(%rip), %rsi     # 0x5df70
movq %r14, %rdi
callq 0x129f0
movl %eax, %ebp
leaq 0x1013d(%rip), %rsi     # 0x1ac7f
leaq 0x10194(%rip), %rdx     # 0x1acdd
jmp 0xab7a
cmpl $0x1, %eax
jne 0xab8d
movq %r15, %rdi
callq 0xa6e7
leaq 0x53411(%rip), %rsi     # 0x5df70
movq %rsp, %r14
movq %r14, %rdi
callq 0x129f0
movl %eax, %ebp
leaq 0x1010c(%rip), %rsi     # 0x1ac7f
leaq 0x10144(%rip), %rdx     # 0x1acbe
pushq $0x1
popq %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x1920b
testl %ebp, %ebp
jne 0xabaa
jmp 0xabb3
leaq 0x100eb(%rip), %rsi     # 0x1ac7f
leaq 0x10161(%rip), %rdx     # 0x1acfc
pushq $0x1
popq %rbp
movl %ebp, %edi
movq %r15, %rcx
xorl %eax, %eax
callq 0x1920b
movl %ebp, %edi
callq 0x9a2d
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_O2/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 0xac58
movq %rdi, %r14
cmpb $0x0, (%rsi)
je 0xabe8
movq %r14, %rdi
callq 0x12464
movq %r14, %rdi
callq 0x12469
leaq 0x100(%rsp), %rbx
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe97a
cmpb $0x0, (%rbx)
je 0xac66
leaq 0x10111(%rip), %rdx     # 0x1ad25
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 0xac4c
leaq 0x10044(%rip), %rsi     # 0x1ac7f
leaq 0x100f7(%rip), %rdx     # 0x1ad39
pushq $0x1
popq %rdi
xorl %eax, %eax
callq 0x1920b
movq %rsp, %rdi
xorl %eax, %eax
callq 0x12753
jmp 0xac77
leaq 0x2b0e5(%rip), %rdi     # 0x35d44
callq 0xc3f8
jmp 0xac74
leaq 0x100a5(%rip), %rdi     # 0x1ad12
xorl %eax, %eax
callq 0x12753
pushq $0x1
popq %rbx
movl %ebx, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x1d148(%rip), %rax     # 0x27de0
movq %rsp, %rsi
movq %rax, 0x30(%rsi)
movaps 0x1d12a(%rip), %xmm0    # 0x27dd0
movaps %xmm0, 0x20(%rsi)
movaps 0x1d10f(%rip), %xmm0    # 0x27dc0
movaps %xmm0, 0x10(%rsi)
movaps 0x1d0f4(%rip), %xmm0    # 0x27db0
movaps %xmm0, (%rsi)
pushq $0x1
popq %rbx
movl %ebx, %edx
callq 0xede6
testl %eax, %eax
je 0xacd6
leaq 0x100e3(%rip), %rdi     # 0x1adb7
jmp 0xad08
pushq $0x20
popq %rsi
movq %r14, %rdi
callq 0x8170
testq %rax, %rax
je 0xad1c
leaq 0x40(%rsp), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x12a8a
xorl %ebx, %ebx
testl %eax, %eax
sete %bl
leaq 0x1009e(%rip), %rdi     # 0x1ada2
cmovneq %r14, %rdi
xorl %eax, %eax
callq 0x12753
movl %ebx, %eax
addq $0x1048, %rsp           # imm = 0x1048
popq %rbx
popq %r14
retq
pushq $0x1
popq %rbx
jmp 0xad0f
// File: /workspace/github_c_makefile_star2_O2/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 0xed98
leaq 0xfcfa(%rip), %rdi      # 0x1aa3b
callq 0x12469
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe918
leaq 0xfced(%rip), %rdi      # 0x1aa4a
callq 0x12469
movq %rax, %r14
leaq 0x12101(%rip), %r15     # 0x1ce6d
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe918
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe918
leaq 0xfd0b(%rip), %rdi      # 0x1aa9e
callq 0x12469
movq %rax, %r14
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe918
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe918
leaq 0x1000e(%rip), %rsi     # 0x1add0
leaq 0x4(%rsp), %rdx
movq %rsp, %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x82d0
cmpl $0x3, %eax
jne 0xae0a
movl 0x4(%rsp), %eax
movl (%rsp), %edx
leal (%rax,%rax), %esi
cmpl %edx, %eax
jne 0xae1f
movsd 0x8(%rsp), %xmm0
mulsd 0xf8de(%rip), %xmm0     # 0x1a6d8
leaq 0x10001(%rip), %rdi     # 0x1ae02
movb $0x1, %al
callq 0x12753
jmp 0xae3d
leaq 0x10015(%rip), %rdi     # 0x1ae26
leaq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x12753
jmp 0xae3d
addl %edx, %edx
movsd 0x8(%rsp), %xmm0
mulsd 0xf8a9(%rip), %xmm0     # 0x1a6d8
leaq 0xffa4(%rip), %rdi      # 0x1adda
movb $0x1, %al
callq 0x12753
callq 0x10dcd
testl %eax, %eax
je 0xae64
callq 0x10dd5
movl %eax, %ebx
callq 0x12ab4
leaq 0xffe4(%rip), %rdi      # 0x1ae3d
movl %ebx, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x12753
xorl %eax, %eax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xaec1
movq %rdi, %rsi
leaq 0xffd1(%rip), %rbx      # 0x1ae54
movq %rbx, %rdi
callq 0x170aa
callq 0x10b6a
leaq 0xffda(%rip), %rdi      # 0x1ae71
movq %rax, %rsi
callq 0x17049
leaq 0xf863(%rip), %rsi      # 0x1a709
movq %rbx, %rdi
callq 0x171c7
leaq 0xffd9(%rip), %rdi      # 0x1ae8e
movq %rax, %rsi
xorl %eax, %eax
callq 0x12753
jmp 0xaef0
leaq 0xff8c(%rip), %rdi      # 0x1ae54
leaq 0xf83a(%rip), %rsi      # 0x1a709
callq 0x170aa
leaq 0xff96(%rip), %rdi      # 0x1ae71
xorl %esi, %esi
callq 0x17049
leaq 0xffc6(%rip), %rdi      # 0x1aeaf
xorl %eax, %eax
callq 0x12753
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xf87b(%rip), %rdi      # 0x1a77a
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xaf2f
movzbl (%rbx), %eax
subl $0x6f, %eax
jne 0xaf20
movzbl 0x1(%rbx), %eax
subl $0x6e, %eax
jne 0xaf20
movzbl 0x2(%rbx), %eax
negl %eax
testl %eax, %eax
je 0xaf39
leaq 0x2ae17(%rip), %rdi     # 0x35d44
jmp 0xaf4f
movsd 0xf0f1(%rip), %xmm0     # 0x1a028
jmp 0xaf3c
xorps %xmm0, %xmm0
leaq 0xff7c(%rip), %rdi      # 0x1aebf
callq 0x16f38
leaq 0x299f5(%rip), %rdi     # 0x34944
callq 0xc3f8
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x13648
movq %rax, %rbx
movq %rsp, %rdi
callq 0xed98
leaq 0xff5b(%rip), %rsi      # 0x1aed2
movq %rbx, %rdi
callq 0x8360
testq %rax, %rax
je 0xaf98
leaq 0x4d9c5(%rip), %rsi     # 0x58950
movq %rsp, %rdi
movl $0x100, %edx            # imm = 0x100
callq 0xe97a
leaq 0xff3f(%rip), %rsi      # 0x1aede
movq %rbx, %rdi
callq 0x8360
testq %rax, %rax
je 0xafc0
leaq 0x4dd9d(%rip), %rsi     # 0x58d50
movq %rsp, %rdi
movl $0x100, %edx            # imm = 0x100
callq 0xe97a
movq %rsp, %rdi
xorl %eax, %eax
callq 0x12753
xorl %eax, %eax
addq $0x100, %rsp            # imm = 0x100
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x13648
movq %rax, %rbx
movq %rsp, %rdi
callq 0xed98
leaq 0xfede(%rip), %rsi      # 0x1aed2
movq %rbx, %rdi
callq 0x8360
testq %rax, %rax
je 0xb015
leaq 0x4e148(%rip), %rsi     # 0x59150
movq %rsp, %rdi
movl $0x100, %edx            # imm = 0x100
callq 0xe97a
leaq 0xfec2(%rip), %rsi      # 0x1aede
movq %rbx, %rdi
callq 0x8360
testq %rax, %rax
je 0xb03d
leaq 0x4e520(%rip), %rsi     # 0x59550
movq %rsp, %rdi
movl $0x100, %edx            # imm = 0x100
callq 0xe97a
movq %rsp, %rdi
xorl %eax, %eax
callq 0x12753
xorl %eax, %eax
addq $0x100, %rsp            # imm = 0x100
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xf6a2(%rip), %rdi      # 0x1a77a
movq %rbx, %rsi
callq 0x8220
testl %eax, %eax
je 0xb124
movzbl (%rbx), %eax
subl $0x6f, %eax
jne 0xb0f9
movzbl 0x1(%rbx), %eax
subl $0x6e, %eax
jne 0xb0f9
movzbl 0x2(%rbx), %eax
negl %eax
leaq 0xf863(%rip), %rdi      # 0x1a965
testl %eax, %eax
je 0xb13d
xorpd %xmm0, %xmm0
callq 0x17102
ucomisd 0xf5c9(%rip), %xmm0     # 0x1a6e0
jne 0xb168
jp 0xb168
leaq 0xfe33(%rip), %rdi      # 0x1af55
jmp 0xb16f
leaq 0xf83a(%rip), %rdi      # 0x1a965
xorpd %xmm0, %xmm0
callq 0x16f38
leaq 0xfdae(%rip), %rdi      # 0x1aee9
jmp 0xb16f
movsd 0xeee3(%rip), %xmm0     # 0x1a028
callq 0x16f38
leaq 0xfdd8(%rip), %rdi      # 0x1af29
xorl %eax, %eax
callq 0x12753
leaq 0xf7ab(%rip), %rdi      # 0x1a90a
xorl %esi, %esi
callq 0x17049
jmp 0xb176
leaq 0xfdf2(%rip), %rdi      # 0x1af61
xorl %eax, %eax
callq 0x12753
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x12fd8
testq %rax, %rax
je 0xb631
movq %rsp, %rbx
movl $0x400, %edx            # imm = 0x400
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe97a
movq %rbx, %rdi
callq 0xb63c
xorl %eax, %eax
addq $0x400, %rsp            # imm = 0x400
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xb705
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
leaq 0xfae9(%rip), %r12      # 0x1b14e
xorl %r13d, %r13d
xorl %ebp, %ebp
testl %ebp, %ebp
jne 0xb6f4
movq %r14, %rdi
callq 0xed98
leal 0x4(%r13), %eax
movl %eax, 0xc(%rsp)
pushq $0x4
popq %r15
subl $0x1, %r15d
jb 0xb6d4
leal 0x1(%r13), %ebp
movq %rbx, %rdi
movl %r13d, %esi
movq %r12, %rdx
callq 0xed9c
testq %rax, %rax
je 0xb6cc
cmpb $0x0, (%rax)
je 0xb6cc
movl $0xff, %edx
movq %r14, %rdi
movq %rax, %rsi
callq 0x81c0
movq %r14, %rdi
callq 0x8120
movw $0x20, 0x10(%rsp,%rax)
movl %ebp, %r13d
jmp 0xb686
movl %ebp, %r15d
pushq $0x1
popq %rbp
jmp 0xb6db
xorl %ebp, %ebp
movl 0xc(%rsp), %r15d
leaq 0x12572(%rip), %rdi     # 0x1dc54
movq %r14, %rsi
xorl %eax, %eax
callq 0x12753
movl %r15d, %r13d
jmp 0xb66a
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x13205
testq %rax, %rax
je 0xb733
movq %rsp, %rbx
movl $0x400, %edx            # imm = 0x400
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe97a
movq %rbx, %rdi
callq 0xb63c
xorl %eax, %eax
addq $0x400, %rsp            # imm = 0x400
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq $0x1
popq %rdi
callq 0x132fc
testq %rax, %rax
je 0xb76e
movq %rsp, %rbx
movl $0x400, %edx            # imm = 0x400
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe97a
movq %rbx, %rdi
callq 0xb63c
xorl %eax, %eax
addq $0x400, %rsp            # imm = 0x400
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x113c3
callq 0x11711
leaq 0xf95d(%rip), %rdi      # 0x1b0e8
xorl %eax, %eax
callq 0x12753
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/schroeder-lvb[P]sissm/src/picladmin.c
// Function: cmdBotRespawn
int _cmdBotRespawn( char *arg, char *arg2, char *passThru ) 
{ 
    int errCode = 0;
    int resetType = 0;

    if ( 1 != sscanf( arg, "%d", &resetType ) ) {
        resetType = 0;
    }
    errCode = apiBotRespawn( resetType );

    apiSaySys( "Bots Respawned" );
    return errCode;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0xc(%rsp), %rdx
andl $0x0, (%rdx)
leaq 0xf91b(%rip), %rsi      # 0x1b0c5
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x82d0
cmpl $0x1, %eax
jne 0xb7be
movl 0xc(%rsp), %ebx
jmp 0xb7c3
andl $0x0, 0xc(%rsp)
movl %ebx, %edi
callq 0x12abe
movl %eax, %ebx
leaq 0xf92c(%rip), %rdi      # 0x1b0ff
xorl %eax, %eax
callq 0x12753
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq