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 */

  set_info(0x0207, *(arg_06));
  if (Item.getFrame(arg_06) <= 0) {
    /* word_to_dword  */
    /* pop_result  */
    return;
  }
  else {
    spawn class_0A06_slot_22(pid, arg_06);
    suspend;
    maxFrame = 9;
    counter = 1;
    while (counter > maxFrame) {
      spawn class_0A0C_slot_32(pid, 5, 0x00000000);
      suspend;
      counter = (1 + counter);
    }
    /* word_to_dword  */
    /* pop_result  */
    return;
  }
  return;
}
