function door3_slot_20() /* entry=378 class_id=0x0A08 slot=0x20 */
{
  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=0x4 */
    /* free_local_list bp_offset=0xFE target=[BP-02h] */
    doorList = 0x036A;
    /* create_list element_size=0x2 count=0x4 */
    /* free_local_list bp_offset=0xFC target=[BP-04h] */
    doorList2 = 0x036B;
    counter = 0;
    class_0A0C_slot_3A(0x0358, 0x035C, 0x035D, 0x0359, 0x035A, 0x035B, 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_0250:
    if (counter <= (maxFrame - 1)) goto block_0302;

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

  block_0302:
    /* word_to_dword  */
    /* pop_result  */
    goto block_037A;

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

}
