function chest_on_gotHit() /* entry=316 class_id=0x054A slot=0x06 */
{
  set_info(0x020C, *(arg_06));
  process_exclude();
  FREE.slot_35(arg_0C, arg_0A);
  if (retval) {
    return;
  }
  else if (Item.getFrame(arg_06) >= 10) {
    FREE.slot_35(arg_0C, arg_0A);
    if (!retval) {
      spawn ITEM.slot_2A(pid, 0, 0, arg_06);
      suspend;
    }
  }
  return;
}
