function door3_slot_28() /* entry=378 class_id=0x0A08 slot=0x28 */
{
  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_201E;

  block_2014:
    /* word_to_dword  */
    /* pop_result  */
    goto block_20D3;

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

  block_2058:
    if (counter <= maxFrame) goto block_20A3;

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

  block_20A3:
    /* word_to_dword  */
    /* pop_result  */
    goto block_20D3;

  block_20D3:
    return;

}
