function door3_slot_2A() /* entry=378 class_id=0x0A08 slot=0x2A */
{
  var
    referent, /* [BP+00h] type=0x69 */
    counter, /* [BP-02h] type=0x69 */
    maxFrame; /* [BP-04h] type=0x69 */

  entry:
    set_info(0x0207, *(arg_06));
    if (Item.getFrame(arg_06) > 0) goto block_2251;

  block_2247:
    /* word_to_dword  */
    /* pop_result  */
    goto block_2306;

  block_2251:
    spawn class_0A06_slot_22(pid, arg_06);
    suspend;
    maxFrame = 9;
    counter = 1;

  block_228B:
    if (counter <= maxFrame) goto block_22D6;

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

  block_22D6:
    /* word_to_dword  */
    /* pop_result  */
    goto block_2306;

  block_2306:
    return;

}
