function door2_slot_32() /* entry=377 class_id=0x0A07 slot=0x32 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    doorList, /* [BP-02h] type=0x6C */
    doorList2, /* [BP-04h] type=0x6C */
    counter, /* [BP-06h] type=0x69 */
    door1, /* [BP-08h] type=0x24 */
    door2, /* [BP-0Ah] type=0x24 */
    item, /* [BP-0Ch] type=0x24 */
    maxFrame; /* [BP-0Eh] 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 = 0x0289;
    /* create_list element_size=0x2 count=0x5 */
    /* free_local_list bp_offset=0xFC target=[BP-04h] */
    doorList2 = 0x028E;
    class_0A0C_slot_3A(0x01C7, 0x0288, 0x028C, 0x0287, 0x01C6, 0x028A, 0x028B, 0x028D, doorList);
    /* free_stack_list value_u8=0x0 target=[SP+00h] */
    maxFrame = retval;
    /* loopscr value_u8=0x24 */
    /* loopscr value_u8=0x3D */
    /* loopscr value_u8=0x40 */
    /* loopscr value_u8=0x25 */
    /* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */

  block_1FA5:
    if condition goto block_1FB3;

  block_1FA8:
    door1 = item;
    /* loopnext  */
    goto block_1FA5;

  block_1FB3:
    /* loopscr value_u8=0x24 */
    /* loopscr value_u8=0x3D */
    /* loopscr value_u8=0x40 */
    /* loopscr value_u8=0x25 */
    /* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */

  block_1FD3:
    if condition goto block_1FE1;

  block_1FD6:
    door2 = item;
    /* loopnext  */
    goto block_1FD3;

  block_1FE1:
    counter = 2;

  block_1FEA:
    if (counter <= maxFrame) goto block_20A6;

  block_1FF5:
    if door1 goto block_2043;

  block_1FFD:

  block_2043:
    if door2 goto block_2073;

  block_204B:

  block_2073:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    counter = (1 + counter);
    goto block_1FEA;

  block_20A6:
    /* word_to_dword  */
    /* pop_result  */
    goto block_20B0;

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

}
