// File: /workspace/github_c_makefile_star2_O3/schroeder-lvb[P]sissm/src/pitacnomic.c
// Function: pitacnomicInstallPlugin
int pitacnomicInstallPlugin( void )
{
    // Read the plugin-specific variables from the .cfg file 
    // 
    pitacnomicInitConfig();

    // if plugin is disabled in the .cfg file then do not activate
    //
    if ( pitacnomicConfig.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,           pitacnomicClientAddCB );
    eventsRegister( SISSM_EV_CLIENT_DEL,           pitacnomicClientDelCB );
    eventsRegister( SISSM_EV_INIT,                 pitacnomicInitCB );
    eventsRegister( SISSM_EV_RESTART,              pitacnomicRestartCB );
    eventsRegister( SISSM_EV_MAPCHANGE,            pitacnomicMapChangeCB );
    eventsRegister( SISSM_EV_GAME_START,           pitacnomicGameStartCB );
    eventsRegister( SISSM_EV_GAME_END,             pitacnomicGameEndCB );
    eventsRegister( SISSM_EV_ROUND_START,          pitacnomicRoundStartCB );
    eventsRegister( SISSM_EV_ROUND_END,            pitacnomicRoundEndCB );
    eventsRegister( SISSM_EV_OBJECTIVE_CAPTURED,   pitacnomicCapturedCB );
    eventsRegister( SISSM_EV_PERIODIC,             pitacnomicPeriodicCB );
    eventsRegister( SISSM_EV_SHUTDOWN,             pitacnomicShutdownCB );
    eventsRegister( SISSM_EV_CLIENT_ADD_SYNTH,     pitacnomicClientSynthAddCB );
    eventsRegister( SISSM_EV_CLIENT_DEL_SYNTH,     pitacnomicClientSynthDelCB );
    eventsRegister( SISSM_EV_CHAT,                 pitacnomicChatCB     );
    eventsRegister( SISSM_EV_SIGTERM,              pitacnomicSigtermCB  );
    eventsRegister( SISSM_EV_WINLOSE,              pitacnomicWinLose );
    eventsRegister( SISSM_EV_TRAVEL,               pitacnomicTravel );
    eventsRegister( SISSM_EV_SESSIONLOG,           pitacnomicSessionLog );
    eventsRegister( SISSM_EV_OBJECT_SYNTH,         pitacnomicObjectSynth );

    return 0;
}

// Assembly:
pushq %rax
callq 0xd00c
cmpl $0x0, 0x50dda(%rip)     # 0x5e070
je 0xd3ed
leaq -0x1af(%rip), %rsi      # 0xd0f4
movl $0x3, %edi
callq 0xd40c
leaq -0x1bd(%rip), %rsi      # 0xd0f7
movl $0x4, %edi
callq 0xd40c
leaq -0x1cb(%rip), %rsi      # 0xd0fa
movl $0x1, %edi
callq 0xd40c
leaq -0x1d9(%rip), %rsi      # 0xd0fd
movl $0x2, %edi
callq 0xd40c
leaq -0x1e7(%rip), %rsi      # 0xd100
movl $0x5, %edi
callq 0xd40c
leaq -0x1f5(%rip), %rsi      # 0xd103
movl $0x6, %edi
callq 0xd40c
leaq -0x203(%rip), %rsi      # 0xd106
movl $0x7, %edi
callq 0xd40c
leaq -0x211(%rip), %rsi      # 0xd109
movl $0x8, %edi
callq 0xd40c
leaq -0x21f(%rip), %rsi      # 0xd10c
movl $0x9, %edi
callq 0xd40c
leaq -0x22d(%rip), %rsi      # 0xd10f
movl $0xa, %edi
callq 0xd40c
leaq -0x23b(%rip), %rsi      # 0xd112
movl $0xb, %edi
callq 0xd40c
leaq -0x249(%rip), %rsi      # 0xd115
movl $0xe, %edi
callq 0xd40c
leaq -0x254(%rip), %rsi      # 0xd11b
movl $0xc, %edi
callq 0xd40c
leaq -0x268(%rip), %rsi      # 0xd118
movl $0xd, %edi
callq 0xd40c
leaq -0x273(%rip), %rsi      # 0xd11e
xorl %edi, %edi
callq 0xd40c
leaq -0x125(%rip), %rsi      # 0xd27a
movl $0xf, %edi
callq 0xd40c
leaq -0x133(%rip), %rsi      # 0xd27d
movl $0x10, %edi
callq 0xd40c
leaq -0x141(%rip), %rsi      # 0xd280
movl $0x11, %edi
callq 0xd40c
leaq -0x14f(%rip), %rsi      # 0xd283
movl $0x12, %edi
callq 0xd40c
leaq -0x15d(%rip), %rsi      # 0xd286
movl $0x13, %edi
callq 0xd40c
xorl %eax, %eax
popq %rcx
retq
nopl (%rax)