Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/VMAIL/slot_0A_equip.txt

71 lines
2.2 KiB
Text

function vmail_equip() /* entry=195 class_id=0x0367 slot=0x0A */
{
var
referent, /* [BP+00h] type=0x69 */
var, /* [BP+0Ah] type=0x69 */
textFile; /* [BP-02h] type=0x73 */
set_info(0x0211, *(arg_06));
process_exclude();
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = UCMachine.numToStr(global[0x001B]);
spawn FREE.waitNTimerTicks("KILL BOARD:^-----------^Guards: ", UCMachine.numToStr(global[0x000B]), "^Soldiers: ", UCMachine.numToStr(global[0x000D]), "^Storm troopers: ", UCMachine.numToStr(global[0x000F]), "^Elite troopers: ", UCMachine.numToStr(global[0x0011]), "^Enforcers: ", UCMachine.numToStr(global[0x0013]), "^^Androids: ", UCMachine.numToStr(global[0x0015]), "^Thermatrons: ", UCMachine.numToStr(global[0x0017]), "^Vetrons: ", UCMachine.numToStr(global[0x0019]), "^Solartrons: ", pid, 10, 0x00000000);
suspend;
if (global[0x001F] == 4) {
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
}
else if (global[0x001F] == 6) {
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
}
else if (global[0x001F] == 7) {
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
}
else if (global[0x001F] == 8) {
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
}
else if (global[0x001F] == 11) {
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
}
else if (global[0x001F] == 12) {
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
}
else if (global[0x001F] == 14) {
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
}
/* free_local_string bp_offset=0xFE target=[BP-02h] */
return;
}