function chest_on_use() /* entry=313 class_id=0x054A slot=0x01 */
{
  set_info(0x0207, *(arg_06));
  process_exclude();
  if (Item.getFrame(arg_06) <= 9) {
    return;
  }
  else {
    FREE.slot_40(*(arg_06));
    if (!retval) {
      ITEM.slot_23(0x1000, arg_06);
    }
  }
  return;
}
