// File: /workspace/github_c_makefile_star2_O0/schroeder-lvb[P]sissm/src/piprotect.c
// Function: piprotectDetectedCB
int piprotectDetectedCB( char *strIn )
{
    if ( errPlayerCount < PIPROTECT_MAXNUMNAMES ) {
        if ( NULL != strstr( strIn, PIPROTECTERRMATCH1 )) {
            strlcpy( errPlayerName[ errPlayerCount ], &strIn[nameCharOffset1], PIPROTECT_MAXNAMESIZE );
            strClean( errPlayerName[ errPlayerCount ] );
            strTrimInPlace( errPlayerName[ errPlayerCount++ ] );
            logPrintf( LOG_LEVEL_WARN, "piprotect", "Connect DetectedCB#1 ::%s::%d::",  errPlayerName[ errPlayerCount-1 ], errPlayerCount-1 );
        }
        else if ( NULL != strstr( strIn, PIPROTECTERRMATCH2 ) ) {
            strlcpy( errPlayerName[ errPlayerCount ], &strIn[nameCharOffset2], PIPROTECT_MAXNAMESIZE );
            strClean( errPlayerName[ errPlayerCount ] );
            strTrimInPlace( errPlayerName[ errPlayerCount++ ] );
            logPrintf( LOG_LEVEL_WARN, "piprotect", "Connect DetectedCB#2 ::%s::%d::",  errPlayerName[ errPlayerCount-1 ], errPlayerCount-1 );
        }
    }
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
cmpl $0x20, 0xb9731(%rip)    # 0xcad34
jge 0x117a4
movq -0x8(%rbp), %rdi
leaq 0x13d9b(%rip), %rsi     # 0x253af
callq 0x8390
movq %rax, %rcx
xorl %eax, %eax
cmpq %rcx, %rax
je 0x116d7
movslq 0xb9706(%rip), %rax     # 0xcad34
leaq 0xb970b(%rip), %rdi     # 0xcad40
imulq $0x50, %rax, %rax
addq %rax, %rdi
movq -0x8(%rbp), %rsi
movslq 0xba0f9(%rip), %rax     # 0xcb740
addq %rax, %rsi
movl $0x50, %edx
callq 0x11bc0
movslq 0xb96d9(%rip), %rax     # 0xcad34
leaq 0xb96de(%rip), %rdi     # 0xcad40
imulq $0x50, %rax, %rax
addq %rax, %rdi
callq 0x12530
movl 0xb96c0(%rip), %eax     # 0xcad34
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, 0xb96b5(%rip)     # 0xcad34
cltq
leaq 0xb96b8(%rip), %rdi     # 0xcad40
imulq $0x50, %rax, %rax
addq %rax, %rdi
callq 0x12450
movl 0xb969a(%rip), %eax     # 0xcad34
subl $0x1, %eax
cltq
leaq 0xb969a(%rip), %rcx     # 0xcad40
imulq $0x50, %rax, %rax
addq %rax, %rcx
movl 0xb9680(%rip), %r8d     # 0xcad34
subl $0x1, %r8d
movl $0x1, %edi
leaq 0x13bce(%rip), %rsi     # 0x25292
leaq 0x13cff(%rip), %rdx     # 0x253ca
movb $0x0, %al
callq 0x21bf0
jmp 0x117a2
movq -0x8(%rbp), %rdi
leaq 0x13d08(%rip), %rsi     # 0x253ea
callq 0x8390
movq %rax, %rcx
xorl %eax, %eax
cmpq %rcx, %rax
je 0x117a0
movslq 0xb9638(%rip), %rax     # 0xcad34
leaq 0xb963d(%rip), %rdi     # 0xcad40
imulq $0x50, %rax, %rax
addq %rax, %rdi
movq -0x8(%rbp), %rsi
movslq 0xba02f(%rip), %rax     # 0xcb744
addq %rax, %rsi
movl $0x50, %edx
callq 0x11bc0
movslq 0xb960b(%rip), %rax     # 0xcad34
leaq 0xb9610(%rip), %rdi     # 0xcad40
imulq $0x50, %rax, %rax
addq %rax, %rdi
callq 0x12530
movl 0xb95f2(%rip), %eax     # 0xcad34
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, 0xb95e7(%rip)     # 0xcad34
cltq
leaq 0xb95ea(%rip), %rdi     # 0xcad40
imulq $0x50, %rax, %rax
addq %rax, %rdi
callq 0x12450
movl 0xb95cc(%rip), %eax     # 0xcad34
subl $0x1, %eax
cltq
leaq 0xb95cc(%rip), %rcx     # 0xcad40
imulq $0x50, %rax, %rax
addq %rax, %rcx
movl 0xb95b2(%rip), %r8d     # 0xcad34
subl $0x1, %r8d
movl $0x1, %edi
leaq 0x13b00(%rip), %rsi     # 0x25292
leaq 0x13c6a(%rip), %rdx     # 0x25403
movb $0x0, %al
callq 0x21bf0
jmp 0x117a2
jmp 0x117a4
xorl %eax, %eax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)