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 */

  entry:
    set_info(0x0207, *(arg_06));
    spawn class_0A06_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;
    class_0A0C_slot_3A(0x00A4, 0x00E1, 0x00D6, 0x00D8, 0x0170, 0x0171, 0x0172, 0x0173, doorList);
    /* free_stack_list value_u8=0x0 target=[SP+00h] */
    maxFrame = retval;
    spawn class_0A0C_slot_32(doorList2, 1, pid, 5, 0x00000000);
    suspend;
    counter = 2;

  block_11DC:
    if (counter <= (maxFrame - 1)) goto block_128E;

  block_11ED:
    spawn class_0A0C_slot_32(doorList2, counter, doorList, pid, 5, 0x00000000);
    suspend;
    counter = (1 + counter);
    goto block_11DC;

  block_128E:
    /* word_to_dword  */
    /* pop_result  */
    goto block_12D2;

  block_12D2:
    /* free_local_list bp_offset=0xFE target=[BP-02h] */
    /* free_local_list bp_offset=0xFC target=[BP-04h] */
    return;

}
