function mine_ir_gotHit() /* entry=7 class_id=0x0028 slot=0x06 */
{
  set_info(0x020C, *(arg_06));
  process_exclude();
  FREE.slot_35(arg_0C, arg_0A);
  local_02 = retval;
  if (!local_02) {
    if (local_02 == 4) {
      return;
    }
    return;
  }
  else {
    local_04 = arg_0A;
    if (!Item.isOn(*(arg_06), local_04)) {
      if (((arg_0A < 0x00FF) && (arg_0A == World.getControlledNPCNum())) && (Item.isEntirelyOnScreen(arg_06) != 0)) {
        return;
      }
    }
  }
  return;
}
