function door2_slot_2F() /* entry=377 class_id=0x0A07 slot=0x2F */
{
  var
    referent, /* [BP+00h] type=0x69 */
    counter, /* [BP-02h] type=0x69 */
    maxFrame; /* [BP-04h] type=0x69 */

  entry:
    set_info(0x0207, *(arg_06));
    maxFrame = 11;
    class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), maxFrame, 0x0393, *(arg_06));
    if retval goto block_1819;

  block_17E3:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    goto block_1823;

  block_1819:
    /* word_to_dword  */
    /* pop_result  */
    goto block_1882;

  block_1823:
    counter = (maxFrame - 1);

  block_182D:
    if (counter >= 0) goto block_1878;

  block_1835:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    counter = (counter - 1);
    goto block_182D;

  block_1878:
    /* word_to_dword  */
    /* pop_result  */
    goto block_1882;

  block_1882:
    return;

}
