function door2_slot_2D() /* entry=377 class_id=0x0A07 slot=0x2D */
{
  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, 0x01AB, *(arg_06));
    if retval goto block_1610;

  block_15DA:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    goto block_161A;

  block_1610:
    /* word_to_dword  */
    /* pop_result  */
    goto block_1679;

  block_161A:
    counter = (maxFrame - 1);

  block_1624:
    if (counter >= 0) goto block_166F;

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

  block_166F:
    /* word_to_dword  */
    /* pop_result  */
    goto block_1679;

  block_1679:
    return;

}
