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);
  /* loop_selector gun in nearby_items(family=10, origin=global[0x003C]) */
  while (!condition) {
    spawn FREE.slot_31(pid, gun, 0x00000000);
    suspend;
    /* dword_to_word  */
    gunHold = process_result;
    counter = (1 + counter);
    /* loopnext  */
  }
  for phold in nearby_items(shape=0x0476, origin=global[0x003C]) {
    counter2 = (1 + counter2);
    /* loopnext  */
  }
  /* bit_not  */
  return;
}
