// File: /workspace/github_c_makefile_star2_O2/schroeder-lvb[P]sissm/src/pidynbots.c
// Function: pidynbotsInstallPlugin
int pidynbotsInstallPlugin( void )
{
    // Read the plugin-specific variables from the .cfg file 
    // 
    pidynbotsInitConfig();

    // if plugin is disabled in the .cfg file then do not activate
    //
    if ( pidynbotsConfig.pluginState == 0 ) return 0;

    // Install Event-driven CallBack hooks so the plugin gets
    // notified for various happenings.  A complete list is here,
    // but comment out what is not needed for your plug-in.
    // 
    eventsRegister( SISSM_EV_CLIENT_ADD,           pidynbotsClientAddCB );
    eventsRegister( SISSM_EV_CLIENT_DEL,           pidynbotsClientDelCB );
    eventsRegister( SISSM_EV_INIT,                 pidynbotsInitCB );
    eventsRegister( SISSM_EV_RESTART,              pidynbotsRestartCB );
    eventsRegister( SISSM_EV_MAPCHANGE,            pidynbotsMapChangeCB );
    eventsRegister( SISSM_EV_GAME_START,           pidynbotsGameStartCB );
    eventsRegister( SISSM_EV_GAME_END,             pidynbotsGameEndCB );
    eventsRegister( SISSM_EV_ROUND_START,          pidynbotsRoundStartCB );
    eventsRegister( SISSM_EV_ROUND_END,            pidynbotsRoundEndCB );
    eventsRegister( SISSM_EV_OBJECTIVE_CAPTURED,   pidynbotsCapturedCB );
    eventsRegister( SISSM_EV_PERIODIC,             pidynbotsPeriodicCB );
    eventsRegister( SISSM_EV_SHUTDOWN,             pidynbotsShutdownCB );
    eventsRegister( SISSM_EV_CLIENT_ADD_SYNTH,     pidynbotsClientSynthAddCB );
    eventsRegister( SISSM_EV_CLIENT_DEL_SYNTH,     pidynbotsClientSynthDelCB );
    eventsRegister( SISSM_EV_CHAT,                 pidynbotsChatCB     );
    eventsRegister( SISSM_EV_SIGTERM,              pidynbotsSigtermCB  );
    eventsRegister( SISSM_EV_TRAVEL,               pidynbotsTravel );
    eventsRegister( SISSM_EV_SESSIONLOG,           pidynbotsSessionLog );
    eventsRegister( SISSM_EV_OBJECT_SYNTH,         pidynbotsObjectSynth );

    return 0;
}

// Assembly:
pushq %rax
callq 0xd5d0
cmpl $0x0, 0x6e07f(%rip)     # 0x7c0e8
je 0xe18b
leaq -0x825(%rip), %rsi      # 0xd851
pushq $0x3
popq %rdi
callq 0xcba7
leaq -0x831(%rip), %rsi      # 0xd854
pushq $0x4
popq %rdi
callq 0xcba7
leaq -0x2b9(%rip), %rsi      # 0xdddb
pushq $0x1
popq %rdi
callq 0xcba7
leaq -0x2c5(%rip), %rsi      # 0xddde
pushq $0x2
popq %rdi
callq 0xcba7
leaq -0x2d1(%rip), %rsi      # 0xdde1
pushq $0x5
popq %rdi
callq 0xcba7
leaq -0x2dd(%rip), %rsi      # 0xdde4
pushq $0x6
popq %rdi
callq 0xcba7
leaq -0x2e9(%rip), %rsi      # 0xdde7
pushq $0x7
popq %rdi
callq 0xcba7
leaq -0x2f5(%rip), %rsi      # 0xddea
pushq $0x8
popq %rdi
callq 0xcba7
leaq -0xea(%rip), %rsi       # 0xe004
pushq $0x9
popq %rdi
callq 0xcba7
leaq -0x8a3(%rip), %rsi      # 0xd85a
pushq $0xa
popq %rdi
callq 0xcba7
leaq -0x8af(%rip), %rsi      # 0xd85d
pushq $0xb
popq %rdi
callq 0xcba7
leaq -0x114(%rip), %rsi      # 0xe007
pushq $0xe
popq %rdi
callq 0xcba7
leaq -0x108(%rip), %rsi      # 0xe022
pushq $0xc
popq %rdi
callq 0xcba7
leaq -0x12f(%rip), %rsi      # 0xe00a
pushq $0xd
popq %rdi
callq 0xcba7
leaq -0x8f1(%rip), %rsi      # 0xd857
xorl %edi, %edi
callq 0xcba7
leaq -0x11c(%rip), %rsi      # 0xe03a
pushq $0xf
popq %rdi
callq 0xcba7
leaq -0x128(%rip), %rsi      # 0xe03d
pushq $0x11
popq %rdi
callq 0xcba7
leaq -0x134(%rip), %rsi      # 0xe040
pushq $0x12
popq %rdi
callq 0xcba7
leaq -0x140(%rip), %rsi      # 0xe043
pushq $0x13
popq %rdi
callq 0xcba7
xorl %eax, %eax
popq %rcx
retq