function reb_pad_slot_21() /* entry=236 class_id=0x043D slot=0x21 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    gun, /* [BP-02h] type=0x24 */
    phold, /* [BP-04h] type=0x24 */
    gunHold, /* [BP-06h] type=0x24 */
    counter, /* [BP-08h] type=0x69 */
    counter2; /* [BP-0Ah] type=0x69 */

  set_info(1, 0);
  /* loopscr value_u8=0x24 */
  /* loopscr value_u8=0x3D */
  /* loopscr value_u8=0x3A */
  /* loopscr value_u8=0x25 */
  /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
  while (!condition) {
    spawn class_0A0C_slot_31(pid, gun, 0x00000000);
    suspend;
    /* dword_to_word  */
    gunHold = process_result;
    counter = (1 + counter);
    /* loopnext  */
  }
  /* loopscr value_u8=0x24 */
  /* loopscr value_u8=0x3D */
  /* loopscr value_u8=0x40 */
  /* loopscr value_u8=0x25 */
  /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
  while (!condition) {
    counter2 = (1 + counter2);
    /* loopnext  */
  }
  /* bit_not  */
  return;
}
