function door3_slot_24() /* entry=378 class_id=0x0A08 slot=0x24 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    doorList, /* [BP-02h] type=0x6C */
    doorList2, /* [BP-04h] type=0x6C */
    counter, /* [BP-06h] type=0x69 */
    door2, /* [BP-08h] type=0x24 */
    maxFrame; /* [BP-0Ah] type=0x69 */

  set_info(0x0207, *(arg_06));
  spawn DOOR.slot_22(pid, arg_06);
  suspend;
  /* create_list element_size=0x2 count=0x5 */
  /* free_local_list bp_offset=0xFE target=[BP-02h] */
  doorList = 0x030D;
  /* create_list element_size=0x2 count=0x5 */
  /* free_local_list bp_offset=0xFC target=[BP-04h] */
  doorList2 = 0x030E;
  counter = 0;
  FREE.slot_3A(0x00A4, 0x00E1, 0x00D6, 0x00D8, 0x0170, 0x0171, 0x0172, 0x0173, doorList);
  /* free_stack_list value_u8=0x0 target=[SP+00h] */
  maxFrame = retval;
  spawn FREE.waitNTimerTicks(doorList2, 1, pid, 5, 0x00000000);
  suspend;
  counter = 2;
  while (counter > (maxFrame - 1)) {
    spawn FREE.waitNTimerTicks(doorList2, counter, doorList, pid, 5, 0x00000000);
    suspend;
    counter = (1 + counter);
  }
  /* word_to_dword  */
  /* pop_result  */
  /* free_local_list bp_offset=0xFE target=[BP-02h] */
  /* free_local_list bp_offset=0xFC target=[BP-04h] */
  return;
}
