function item_slot_2C() /* entry=400 class_id=0x0A1E slot=0x2C */
{
  var
    referent, /* [BP+00h] type=0x69 */
    n; /* [BP-02h] type=0x24 */

  set_info(0x0001, *(arg_06));
  /* loopscr value_u8=0x24 */
  /* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
  while (!condition) {
    if (n >= 0x00FF) {
      if ((n > 1) && (Actor.isDead(n) == 0)) {
        /* word_to_dword  */
        /* pop_result  */
        return;
      }
    }
    /* loopnext  */
  }
  /* word_to_dword  */
  /* pop_result  */
  return;
}
